> presumably China would still want to keep selling those products and would have an interest in avoiding destroying those factories
It has been hinted by people who might know something that Taiwan has rigged their factories to explode if China invades to ensure China can't get a hold of those factories. I'm not sure if it is true, but it wouldn't be hard to do (the hard part is ensuring the explosives don't go off for other reasons)