China slams US over Huawei blacklisting as Macron warns of ‘tech war’