It would turn into rubble.
There is no way that facility would be ceded.
During WW2 Allies bombed 3rd reich's weapon factories, and occupied French cities. A lot of civilians died, really a lot.
Do you think semi-enslaved German citizens working in 3rd reich's weapon factories wanted any much less to have these factories bombed?
Do you think French under German occupation wanted any much less to have British bomb the occupied cities?
No, survivors recall it seeing occupation government buildings bombed the most joyful moments, which led a lot of people to regain their spirits, and join the resistance.
Economic interdependence also creates another layer of protection from either side going too far because of the economic warfare potential before nuclear or conventional wars would be considered.
However, as far as TSMC is concerned, the likely outcome of an invasion would be that TSMC in Taiwan permanently shuts down: https://doxa.substack.com/p/why-a-chinese-invasion-of-taiwan