TSMC says it has discussed moving fabs out of Taiwan but such a move impossible
reuters.com
reuters.com
That said, Taiwan should do everything in it's power to keep Megafabs in Taiwan and raise stakes. As we have seen in Ukraine, economy is more important than protecting values. The US tells Ukraine that it can't attack Russian oil exports because global oil price would raise.