Microsoft had a team of treasury traders who managed the cash actively in money markets and treasuries. Google has such a team as well. I can only assume that Apple does the same.