A lot of countries are building up reasons to not like China, that would be the tipping point.
Manufacturing would flood out of the country, there'd be massive sanctions, other fabs would ramp up and more would be set up over time.
'Belt And Road' would be kaput, and a bunch of nations that supposedly owe China money would probably cancel their debt.
It would cause a recession and everything would slow down for a bit, but that would be the tipping point for the 'Next Phase' of China's development and it would be bad news.
Not sure what you mean by "internal needs", but China is currently suffering mass blackout because China banned Australian coal. Seems to me that China puts its domestic politics in front of people's need.
* Well, at least not burning coal is a massive win for the Earth, so there's that. :/
They also took it a step further and asked Chinese in other countries to get medical supplies back to China potentially leaving other countries in difficulty. E.g. https://www.smh.com.au/national/second-developer-flies-82-to...
It should be a wake up call for politicians, though no doubt will be forgotten. International trade is great and but this clearly showed nations should keep some base activity domestically for key/essential industries.