Want to stop China from waging war? Knock out its means of production -- target its imports.
My point is that the analogy of US in WW2 doesn't really hold up because the US had an excellent economy throughout WW2 relative to others which fueled their excess industrial production. China would be in the opposite situation - economic collapse.
Would China be able to maintain industrial production by forcing workers and firms to produce equipment despite economic collapse? Perhaps. But the US in WW2 shouldn't be considered historical precedent, due to the above distinction.
China can't feed itself.
China only produces a third of the oil it consumes.
If your people begin to starve as soon as war starts and you all of a sudden have 1/3rd the oil you used to.... well, that's not exactly a recipe for success.
Most of the simulations for a naval war around Taiwan predict that it would be over in a few days, maybe weeks, but not long enough to really draw down those reserves.
Most importantly, it's really not realistic that the US Navy could prevent the rest of planet Earth from providing goods to the world's largest trading nation. Our navy isn't big enough, for one thing, but the economic damage to every other country that imports into China makes this blockade idea pretty unrealistic. I can't even imagine how much inflation would spike when the world's factory can't export for a few weeks
China has a border with Russia, and gigantic strategic oil reserves. They are not going to run out of oil. Maybe ration it initially, until enough can be delivered from Russia.
One thing that makes China today different to the US of WW2 is that China's export oriented economy would collapse in a war with the West and their industrial production capabilities would be hurt significantly along with that.