It's an Irish tax bill decided by the EU. Think about that. Starting to think Brexit wasn't such a bad idea after all.
Also, spending money puts it back in the economy, and Apple spends plenty. Taxes are probably the worst way for money to cycle through from an efficiency standpoint.
All that said, they should obviously pay what they legitimately owe.