Then just tax them to hell (aka tariff Apple imports if they move out of the country significantly) if that's the game these companies want to play. They need the US customer base and investment base more than the US needs Apple.
I said "share of profits". Though perhaps I should have said revenue. Regardless Apple has 85% of smartphone profit. And its share of services on mobile and laptops is growing.