Those factories cost literally hundreds of billions of dollars to build and implement over many years. And many have a zero tolerance for even microscopic dust. There won’t be a war that jeopardizes them, in my opinion.
I doubt its hundreds of billions unless you are talking of cumulative multiple layers of change and upgrades over the decades. Things that were built in, say, 2006 and replaced in 2016.
A new set of “greenfield” facilities are another matter.