With Donald Trump poised to expand tech sanctions in the name of national security, Beijing has signalled it won’t shy away from retaliation.