The following chart by U.S. Trust shows Apple has more cash on hand than many countries:

h/t: Business Insider