Because taxes (help) pay for the negative externalities that arise from the corporation doing business.
>A better question would be posed to our governments on tax reform and simplification. But we all know the loopholes exist somewhat intentionally, otherwise they would have been closed already. The fact they're not getting closed indicates that our perception of what a company should pay and what they're legally obligated is basically wrong.
The problem exists because of the international tax framework, and getting the governments of all the jurisdictions involved to reform the tax system is harder than a single country unilaterally doing so - especially when it greatly benefits some countries at the expense of others.