Can you please elaborate. Feels to me that the US trying to ban advanced semi in China combined with the fact they're produced an arm's distance away in Taiwan is a huge incentive for China to invade Taiwan.
Some might consider it unlikely that we actually would show up, but they are a small island off the shore of a superpower, so they are playing the hand they were dealt as well as they can. And, a small chance of the US showing up is still a pretty big disincentive to starting an invasion.
China needs to deactivate or sabotage the explosives before any invasion. Even in that case, I am sure there is a plan B to nuke the factories.
Not only that, it's very dependent on the skills and hard work of its staff. Which is one of the things that makes TSMC so hard to replicate.