Taiwan should destroy chip infrastructure if China invades: paper
asia.nikkei.com
asia.nikkei.com
The point you made is nonsensical because Taiwan is clearly an adversary of the PRC and the PRC has repeatedly threatened to invade Taiwan. Referring to both of those parties as "China" loses the nuance that explains the conflict.
china only needs to offer them better opportunity to work in mainland, it is happening at a fast rate.
On top of that China already has chip foundries. No one uses them for anything important because they don't want their IP stolen.
Taiwan's value to China isn't TSMC, although it would be a bonus to take it.
The rest of the world however would lose a major asset. Which is why the US is starting to build new foundries.
If anything, destroying the Taiwanese fabs would strengthen Chinese chip hegemony.