I would imagine having multiple jurisdictions crawling through your accounts, asking searching questions of your finance people which involve them doing things to find documents etc etc is a huge distraction from day to day operations - in some shape or form it is going to cost you somewhere in time, reduced efficiencies etc. So coming to some settlement makes sense.
Apple is in the spotlight for this because it is so well known, but an awful lot of relatively small companies, as well as the big ones, are taking advantage of these tax structures. They are totally legal. But as others have commented, when governments are scrambling for revenue, and big business is accused daily, rightly or wrongly, of screwing the tax payer, of contributing to wealth and income inequality, then these legal challenges should come as no surprise.
And if a CEO were to unilaterally decide to pay taxes at higher rates, to not use these tax structures, it would only be a matter of hours before a shareholder sued the company and its officers for failing in their fudiciary duty to maximise gains for shareholders, and I can't think of a CEO or other senior company officer that wants to get embroiled in that hassle. Every time a publicly listed company says it is acquiring another publicly listed company, you see these law suits being filed, usually he first filing is less than an hour after the acquisition is announced...
So this may sound like Apple is admitting it did wrong, otherwise why pay anything at all. But my take on this, is that it is paying money to make a distraction go away. This is a company that does hundreds of billions of dollars of business around the world each year. Paying way less than 1% of revenue to make a major problem go away would be seen by many as simple the pragmatic thug to do, with no admission of guilt...