Earlier quoted context omitted.
The risk isn’t war between China and the US, but China and Taiwan, which China has 100% chance of winning. That then makes the the US extremely dependent on China for semiconductor supply.
You’re making the assumption that the U.S. would just let China attack Taiwan unchallenged. There’s an enormous risk of war between China and the U.S., if China invaded Taiwan.
Even if we would go to war, its probably a war we would prefer not to have to fight even if the weapons used stay conventional. It's the kind of situation that changes the course of history in a big way for the loser.
Nobody wants to be the Spanish after the defeat of the Armada of the 21st century.