I don't feel like China operates under the same geopolitical philosophy as Russia, they have other ambitions that I think are better served by avoiding wars. But who knows given the way things are going.
It's clear if you pay attention, that China's putting inordinate efforts into other places. Africa is one example. (Probably the principal example.) So they clearly have ambitions that lay outside of Asia.
No one fakes moves like that at that scale. They're serious about what they're doing.
Because war is economically expensive, they subscribe to certain philosophy and would prefer continue trading with Taiwan rather than turning it to rubble.
That being said, even if they would. Under that assumption, I find the idea to further provoke them to doing that morally repulsive. It's an egomaniacal move that disregards Taiwanese people.
The calculation is a bit different for a dictator though.
They won't be affected personally (unless the country rebels against them) so they can be fine to tank the economy if it gets them closer to some other goal (such as megalomaniac world domination).
A military fight wouldn't serve China's interests. Pouring money into their domestic fabs and using the same market-flooding and subsidies that they're known for in other fields to take customers from TSMC would be a smarter move. They probably wouldn't be taking over the high-end CPU/GPU marketshare anytime soon, but could put significant pressure in other areas while developing capability.
Two reasons why TSMC operations in Taiwan would cease: 1. Skilled workers to develop and operate the fabs. I doubt it that the Taiwanese would happily continue to innovate under a (possibly violent) Chinese regime. 2. Supply of fab equipment from ASML and other Western companies.