My understanding is that the profits are accumulated in a cash/low-risk investment reserve, which serves several purposes: hedging against the ~100B of debt they apparently hold, ensuring smooth operation in a downturn, and also enabling the acquisition of valuable companies or talent, such as P.A. Semi in 2008.
Let's put it this way: it would be a lot harder for Apple to do what it wants if it didn't have a stupendous amount of cash to fund it. That money pile means that they can shoulder the risks of their own plans, and the fact that they just pile on more and more profit every year just means these plans are largely successful.