TSMC machines have kill switches built in for such an event.
https://www.datacenterdynamics.com/en/news/asml-adds-remote-...
This doesn't account for the actions of Tiawanese nationalists working in TSMC setting off the kill routine themselves, irrespective of the deal struck, but it's still an interesting scenario.