Drug maker Shire PLC of Ireland on Friday rejected a $46 billion takeover bid from U.S. rival AbbVie Inc., the latest attempt by an American company to buy a foreign address and the tax advantages that come with it.

Such so-called inversions have become a popular structure for a wide range of American companies seeking lower corporate tax rates and a way to deploy overseas earnings that would otherwise be subject to stiff U.S. taxes...