The opinion question is whether or not that's a moral job. Either way, it's still the job.
Apple pays billions in taxes, pays dividends to shareholders, employs thousands, etc. if you're not happy with that, maybe you should move to countries with higher corporate tax rates, i'm sure they have a better/bigger economy than the US (they don't, take a good guess why.).
http://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)_...
The real issue is that most people think they are legally bound to always make the optimal financial move even if that means being immoral or unethical. Even worse is that many people think that doing so has a certain morality of its own, which IMO is completely, bizarro, nuts.
http://www.directorship.com/stout-shareholders-as-owners/ http://hbr.org/2010/04/the-myth-of-shareholder-capitalism/ar...
Apple pays billions in taxes, will pay billions in dividends to shareholders (which goes to retirement/pension funds, universities, charities, etc.), employs thousands (the employees pay taxes), donates to charity, etc. They created an Apple ecosystem that spurred thousands of developers and start-ups to build apps, etc. which in turn created more jobs, taxes, etc.
Are those not ethical or moral to you?
Equally, I think it's fairly naive to expect corporations to be moral, since there's very little incentive for them to be so - I merely respect those that are more.
s/society/government
morality is not defined by how much taxes you pay the government.
who's immoral?
The company that pays less taxes and returns the money to the shareholders,creates jobs, donates to charity, etc. or big government that waste tax payers money by spending it on useless government programs and wars?
Government is part of (and, indeed, defined by) society. I can only imagine that your views on the uselessness of government programs are shaped by the US' admittedly poor example, but that doesn't mean that governments are inherently incapable.
I don't think that's currently true, at least not if you're talking about the top rates that profitable companies pay. Wikipedia says the top corporate tax rate in Belgium is 33.99% and the top federal corporate rate in the US is 38%.
Corporate tax rates have generally declined over time to where the US rate is now one of the highest in the developed world. (Japan beats us by a bit - their top rate is 40%. Most of Europe does not.)