I would guess the real reason the US won't ever willingly go to war with China, not even under the most fantastic of hypothetical scenarios, has a lot more to do with a combination of the anticipated importance of tech in a modern war between major powers, and the USA's near-complete lack of domestic electronics manufacturing infrastructure.