10 years is nothing for a nation state. China has trillions at its disposal.
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.