The subsidiaries of these companies are subject to the intelligence law and whatever data these subsidiaries owns. If apple keeps US data away from the apple subsidiary in China then Apple is physically impossible to hand the data to Chinese government