If a conflict with China comes to pass, it won't be on US or China soil. It'll be a proxy conflict somewhere else.
All the major conflicts since ww2 have been in proxy locations. Korea (US/China), Vietnam (US/Soviet Union), and so on.
"Occupying" a country is fruitless (see pretty much everyone in Afghanistan) and unpopular.
So I don't see Chinese bombers over Seattle or US bombers over Shanghai. In that sort if conflict both sides lose.
Taiwan is the obvious proxy in play. The South China Sea is the other. Both would give China significant geographical advantage. Taiwan is just important enough (making PCs) that the US may intervene. But will the US land troops in Taiwan to fight street battles? Probably not (imo).
Will Chinese troops parachute into LA or US troops parachute into Tibet? Not a chance.
With all this in mind, statistics and behaviors from ww1 and ww2 are somewhat irrelevant.
If there is a US China conflict though, it's more likely to be economic. Supply chains disrupted. Chips in short supply. In that sense domestic production of non-military items becomes paramount (to keep the population appeased.)