I honestly think there is 100% chance that if China invaded Taiwan today, the US would declare war and send troops to defend Taiwan. In contrast, I think there is >0% chance that the US would not declare war on Russia if they did a (tactical) nuclear attack in Ukraine.
Taiwan is an American ally for reasons other than the semiconductor industry.
We will give Ukraine to Russia if we can save Paris.
Only that you just taught the already aggressive ruling elite of a huge country with an abundance of resources who don't care about anyone including their own except that they need them for work and for the fighting that threatening use of nukes gets them anything they want. Moldova next - it's not EU or NATO, already very low risk for Russia, if they can get there. Which was (is) a stated goal for the current war, to get the entire south of Ukraine to take away their sea ports and to get to Moldova.
They'll try the Baltic states next. Not a full invasion, just lots of little aggressive actions. Even previously they did murders in the EU, financing of radical parties out to undermine current EU country governments, supported by propaganda. I don't know how much it actually influenced US elections, but I think it's save to say they at least tried.
Giving them Ukraine will be massive. They will also have lots more of the oil and gas reserves under Ukraine and around the Krim. They will also get tens of millions of new citizens, lessening the problems of a shrinking number of people available inside Russia significantly. There also are significant parts of former USSR production in Ukraine, which will all go to Russia. They will also own even more of the prime agricultural lands of Eastern Europe, which at least so far seems to suffer less than Western Europe (look at the heat maps of this summer) under climate change so it may become even more valuable than it already is. The land is some prime real estate - unlike Siberia, Ukraine is much better, you can't look at the map and think "it does not add all that much to Russia" because the value of Ukraine lands is much higher.
I have no idea how you get this idea. Giving up Ukraine is really, really massive in its long term consequences, greatly strengthening Russia directly as well as showing them that the means they use actually work. This would be a gigantic loss for the West.
For China it's about nationalism, for US it's about protecting allies/upholding treaties and protecting democracy from the strongest authoritarian regime. Chips are not important. After all chances are high they might be destroyed even in a successful defense of Taiwan.
As a Ukranian American I wish we had and were doing more for Ukraine but it's not about chips or economics. Ukraine had only recently grown closer to the US. The US has promised to defend Taiwan for a long time (well sort of, arguably the US does keep some strategic ambiguity about this which might let it wiggle out)
Ideas like "protecting democracy" are used to sell citizens on wars they don't care about. The full destruction of TSMC is likely preferred over a Chinese dictated world technological economy. The truth is, if one side has TSMC chips and the other doesn't, what we're talking about may necessitate a total war.
While upholding treaties is vitally important, I think you’re underestimating the importance of chips(a rare occurrence on HN!).
Wars are generally fought over resources rather than ideas, and pretending that US is defending Taiwan to defend democracy instead of defending its strategic interests (access to vital resources — chips) is misguided.
I doubt this is true for China (I very much suspect economic concerns trump any other concerns for them as well), but I am quite convinced you are wrong about the USA - one of the biggest supporters of non-democratic regimes in the world. There is little in US history to suggest they have any preference for a democratic regime over a subservient autocratic one. They are also extremely clearly uncaring of international treaties.
And make no mistake: the USA is coordinating Ukraine's defense because it sees it as a good chance to weaken Russia, not out of some deep care for the people of Ukraine.
I got a little carried away with the Michigan analogy, but IMO it doesn't go far enough: Taiwan is far more integral to the global semiconductor industry than Detroit is to the global auto industry.
I think if we fast forward 5-10 years, Taiwan will not be this much of an absolute, but it will take years for these new fabs to come online. Until there are viable alternatives, Taiwan is a massive risk.
Taiwan and China account for 70% of contract chip manufacturing. It's absolutely the dominant share... but not remotely to being "all".
Don't semiconductors represent a significant military advantage? Would we really want China to control the worlds semiconductor supply?