In a perfect world of solar/wind, oil is still really necessary, especially to a manufacturing economy (plastics/materials/lubrication), and most importantly: fertilizer.
Sure, China's strategic reserve lasts 6 months. Then ... starvation.
South Korea, Japan, INDIA, and Southeast Asia will probably view China's assault on Taiwan as imperialism,
The US is not going to sell out TSMC production for soybeans. TSMC production loss alone would tank the US economy into a depression for probably 5-10 years.
And I always wonder if an "illegal" invasion happens if the US can cancel its debt to China.... Which I guess is "only" 750-900 billion, but it's still something that can probably be done.
Finally, wars are financed by debt. If China gets international sanctions from an invasion... who pays for it? Russia can't. India won't. China is a bigger house of financial cards than the US is if you believe some of the doom.
Never underestimate the incompetence of large organizations, but drone manufacture on that scale is not a big lift compared to say, tanks and fighter jet design and manufacturing. 50,000 drones fit in how many shipping containers? 20? And yes, drones are now unhackable with fiber optic line leads, certainly for defense of beach assaults. Naval drones are a different story.
China is always some form of warlord confederation. Launching a foolish invasion that fails quickly invites a total collapse of the Beijing power center of the CCP. Starvation from a blockade/sanctions ... invites a total collapse of the CCP. I would argue that Russia's population was tolerant of the Ukraine invasion because the Russian government was in a quid pro quo with the population: we keep the lights on, the oil cheap, and decent enough economy, and you let Putin do what he does.
The CCP does not have the same quid-pro-quo with the Chinese people AFAIK, and has a lot less leeway with them with the COVID lockdowns and general dislike of the CCP. A failed invasion and then catastrophic economic sanctions could topple the CCP very very very quickly.