I'll guarantee you this: if the US went to war at all costs with China, you would lose regardless of the military outcome. (actually, sorta like Iraq and Afghanistan, but super sized)
If America and China went to war everyone would lose. War is all heroic and fantasized until you are in it and see it with your own eyes.
A war between those two would change everything.