Donald Trump has made it clear he believes a confrontation between the US and China over trade and technology is inevitable. Beijing has had time to get ready.