Why on earth would any sane CEO invest in China?
Because if you don't then your company ceases to be competitive. Somebody else will and will be able to undercut your prices. So you have to. You have to maximize profits when you are a CEO.
You can not put the interests of the country first. Public policy has got to set the rules. As long as public policy allows any CEO to invest in China and take advantage of almost free labor, then no CEO can ignore China.
The only way to stop the drain is government regulation, or tarriffs.