Corporate income taxes should be eliminated. Instead of focusing on building a company and good products, companies have to dedicate resources to figure out how to escape the taxation. Taxation should be done when profit is distributed to shareholders (similar to Estonia). There is also unfair double taxation - paying taxes after company pays them.
Taxing profit is taxing the reward (a delusion of money produced after all operations), which is what's suppose to justify it. But taxing growth is taxing the company itself (taxing the operations). Taxing shares or dividends would be taxing rewards.
Apple has generated a boatload of income tax and sales tax and capital gains tax, and these numbers are usually left out of corporate tax news pieces.
That said, Amazon being able to escape sales tax early was bad. Also individuals avoiding income tax through shell companies in tax havens is also bad. At least worse than global corporations escaping the US corporate tax...