A little bit of balance.
Corporate tax is on PROFIT not sales, remember this when papers start flying around huge numbers that are sales and not profits, this is important, though not totally relevant to these particular cases.
Starbucks - UK branches made no profit, likely a legal fiddle, US Starbucks makes them pay large royalties, which makes the UK branches on paper a loss making operation. Perfectly legal, and normal, the only abnormal part is just how high the US royalties are. Remember Starbucks will still be paying LOTS of money through business rates, some vat, and income tax. The only way I can see around this is to base corporate tax on sales and not profits, which is a monumentally stupid idea.
Amazon - Located in Luxenbourg, an EU country, can you see where this is going? This is not a tax fiddle, THIS IS HOW THE EU IS DESIGNED, the EU is designed so that a company can set up shop in any EU country, and sell to any other EU country, and be taxed where it sets up shop. Don't like it, well shucks, you shouldn't have voted for pro-eu parties.
Ebay - Same as Amazon.