There is a really important lesson from all of this, and it is not that Apple is wrong for rationally exploiting global tax laws to avoid paying US taxes. The fact that California has no tax jurisdiction in Nevada, and that the US has no tax jurisdiction in Ireland, is an unassailable fact of life. Tax laws are subject to regulatory competition like many other things, and ignoring that -- insisting that this is an is…
Another factor is that long-term capital gains taxes are much less efficient than income taxes in terms of adverse impact on the economy. If you need to raise additional revenue, it is better for economic growth to take it from income (or sales) than capital gains.