Before the attack on Iran, China arrayed 6000 fishing ships in formation in the south china sea, demonstrating impressive militia command and control. Their weapon systems are modular and containerized and designed to militarize their civilian manufacturing on demand.
If the US attacks china without crippling it and forcing a surrender immediately, they have no chance of winning a protracted conflict.
It is frankly weird that Americans don't understand this. It's not how much you spend on military, it's how much you CAN spend on military, when you have to. Autonomous weapons also close the training and experience divide very quickly (especially in a conflict with mutual losses where trained specialists can't be easily replaced).