First, we have TSMC working on building in the US, that should be continued and accelerated if possible.
Second, work with Taiwan to force TSMC to split itself into a US and Taiwan division. The US division will be granted all the same intellectual property and will be IPO'd (with TSMC retaining a super majority ownership position; if China ever gets ahold of TSMC, we'd simply force the parent to sell its majority ownership position on national security grounds). But how will Taiwan force that outcome on TSMC? Nation states have fun ways to make things like that happen when it comes to their domestic corporations. But why would Taiwan do that? The same reason they're getting TSMC to build fabs in the US (which is a political move): because we're asking nicely and the US is the only thing keeping Taiwan an independent liberal democracy. TSMC is so big and strategically important, they're a political entity as far as Taiwan is concerned, they're even more outsized vs Taiwan than Samsung is vs South Korea.