Illinois drug maker AbbVie said Friday it would buy European rival Shire for $55 billion and reincorporate in Britain, allowing the company to slash its tax rate in the latest move by an American firm to shelter its foreign earnings.