It seems unlikely that US and west would get involved in a direct major military conflict with China, no matter what. The costs are too great. It is far more likely that they would only provide military equipment and intelligence (like Ukraine).
So this move of TSMC actually strengthens the shield a lot more than it weakens the spear.