Not only China but let us assume iPhones are made in China only.
China gets a modest share of the profits, because Apple pockets the rest. Reinvesting a fraction in US and stashing most of the profits in banks across the world that use this money as leverage to buy US bonds, among other things.