The trade war reduces China's dependence on the US, whether through sales or holding US treasuries. This means China can invade Taiwan with less risk of economic sanctions. That said, without TSMC, and especially with the current administration, I doubt the US would step in.
(Not saying that the US policy is decent here, or anywhere else, under the current administration.)