This is a bad reason to go to war. It would be cheaper, to say nothing of cost fewer lives, to spend the tens of billions of dollar it would cost to replicate that capacity in America.
And time. Say we even put $1T into replacing TSMC's capabilities stateside, it would take years, potentially decades, to get the people, knowledge, processes and technology.