TSMC is one of the key players in the 21st century. As we've seen with the supply chain issues from covid and the Ukrainian conflict, high quality semiconductors are a vital resource for modern nations' security and economies.
TSMC is the only entity that can make the highest quality chips (3nm being not actually 3nm, but just called that way for marketing purposes). If Taiwan looses that unique ability, they then loose much of the backing of NATO-aligned nations.
Taiwan bet the whole nation on TSMC, and it's paid off thus far. They're not likely to let go the trump cards they hold.
More on the issues with Taiwan and China here: https://www.youtube.com/watch?v=p6sCsOdqXQw