>Of course, China cannot do anything to Apple without US retaliating.
Not really the main reason. Apple has an extremely good relationship with China, and has been helping them from NAND, Glass, Battery, Display, Plastic, to every other form of components up to speed and quality.