Apple set up its Irish sub in the 1980's by entering into an R&D sharing agreement. Under its terms the Irish sub paid one-half of Apple's R&D costs which were incurred in the U.S. and which contributed to the U.S. economy. In return, the Irish sub received the right to license the product of the R&D, intellectual property, which it sold to sales organizations doing business throughout the world other than in the Americas. An ignorant public and comedians can lash back all it wants, but Apple has absolutely nothing to apologize for. Nor does Congress. There is no fair tax law that can subject profits from operations outside the U.S. to U.S. taxes. Remember, Apple has already paid taxes in all these countries, including their much higher employment taxes and obligations. Unless the profits inure to the benefit of some U.S. domiciled company, which they do not, there is no nexus to the U.S. that justifies American taxation. Since Apple sells twice as much outside the U.S. than inside it, it should be no surprise that its U.S. tax bill is not based on its worldwide GAAP income.
Interesting, I hadn't heard about the cost-sharing agreement.
For what it's worth, I don't think Apple has done anything illegal, and given this is a cross-jurisdictional issue I'm not certain Congress could really do much about it anyhow.
IMO though, this is just the tip of the iceberg, the issue is bigger than just Apple, or even the US (there's a similar furore in the UK at the moment, and other companies have been heavily criticised - Google and Starbucks among them). It seems to me that tax law needs to be simplified and harmonised to a greater degree across borders. Few people voluntarily pay tax they can avoid, and Apple (and others) have mastered tax avoidance by exploiting cross-border differences in tax law.
You could argue taxes should be lower, or some taxes eliminated entirely, fair enough. But it should be the same for all. An American, or Irish company shouldn't have to pay more tax than a multinational with American and Irish branches. It's not just a "fairness" argument, it's also a practical one. Smaller domestic companies shouldn't pay more tax than larger multinational companies with greater revenue.
Apple's reward for their endeavour and enterprise is their massive revenue and profits; they don't need to be doubly-rewarded with a lower tax rate any more than they should be doubly-penalised by being taxed twice.
I think this issue is just going to expand into a wider discussion involving more companies than Apple and more countries than just the US.