It was actually common, they still do business here, before the tax law change they would do an inversion so they'd no longer be taxed by the US on their foreign profits (US had worldwide taxation while most every other country did not).
Here's an article about 2016:
https://www.bloomberg.com/graphics/tax-inversion-tracker/
US citizens can't avoid worldwide taxation, but they certainly move states to avoid taxes.