Honestly, this is a no-brainer from Taiwan's POV. The second our economies can get by without Taiwan is the second various governments start questioning whether it's worth it to ally with them, especially with China trying to undermine Taiwan and anybody who supports them all they can.
In a bizarre way, semiconductor manufacturing for Taiwan has become like nuclear weapons are for other countries.
They've made themselves effectively uninvadable because doing so would be an absolute catastrophe for everyone else, including the aggressor.
It's shocking how much it lines up with MAD doctrine, yet in a completely non-lethal way.
I want advanced semiconductor manufacturing to be less centralised, but Taiwan would be foolish to give up this leverage and security.