Multinational corporations have shifted a growing share of the profits they earn outside their home countries to tax havens in recent years, which means the governments where they operate lose out on potential tax revenue.