Why Apple had to borrow $98 billion

CNBC:

According to FactSet, as of the end of the first quarter of 2017, Apple has taken on more than $98 billion in debt.

And:

Apple generates cash flows of nearly $40 billion every six months. It’s the richest company in the world, with more than $256.8 billion in cash and marketable securities sitting on its books.

Why does such a rich company have to borrow money?

And:

As of the end of 2016, Apple had more than $230 billion stored overseas. That’s because, when Apple earns money from sales outside the U.S., it’s taxed once by the country where it makes those sales, then taxed again by the U.S. when it brings the money back home. As a result, Apple doesn’t bring that money home.

This from Tim Cook, in his recent interview with Jim Cramer:

If you sell globally, you earn money globally. If you earn money globally, you can’t bring it back into the United States unless you pay 35 percent plus your state tax. And you look at this and you go, ‘This is kind of bizarre.’ You want people to use this money in the United States to invest more. We are in a good position, but an unusual one. Our good position is we can borrow. And so to invest in the United States, we have to borrow. This doesn’t make sense on a broad basis.

Complicated problem. If that 35% rate is dropped to the rumored 10%, would that be enough to repatriate all that cash?