If the war starts with Taiwan, everybody will bomb the fabs. The Taiwanese probably have units detailed to do that to prevent their intact capture, just as Switzerland have mined every bridge and tunnel in the country.
Everyday tsmc and intel are closer to opening fabs in Arizona. Also Samsung proved they have some chops at producing decently cutting edge silicon with Nvidia’s ampere chips, if China does invade taiwan before the plants in Arizona open.