Trump (and Elon) are actually fairly pro-China. Or at least, Trump and Xi have a good relationship (and Trump was quoted last month as believing the US and China can solve many problems together), and Elon loves China.
They’re well-oiled grift machines.