Sure, if it wasn't for the fact that the hustle is now officially kaput so companies aren't going to be setting up shop for this reason and all of those that have are (probably) either in the process of packing their bags or figuring out how to do it with as little noise as possible.So Ireland broke EU's tax laws, got Apple to set up business there just to avoid taxes, then ended up getting the tax revenue anyway? Dang, sweet deal for them.
A nice hustle while it lasted, but now it's over and Ireland has not only ruined it's reputation with the rest of the EU member states, it's also set in motion some pretty broad efforts to curb corporate tax planning. There's even been talk of having big companies like Apple, Google and Facebook with histories of this taxed based on revenue rather than profit.
This whole thing may sound awfully alien to americans who are used to states bidding for companies setting up shops with massive tax incentives, but you at least have separate state and federal taxes and that allows them just to avoid state taxes. In the EU don't have EU-wide taxes and with the free trade across the EU, if a company gets to operate essentially tax-free from a particular country, it gets to operate tax free across the whole of the EU.