Apple has its cash stored away overseas. The company has over 100 billion dollars in cash abroad. Google on the other hand has its cash invested in mutual funds and bonds. GE also keeps its cash overseas.
To add to lauraAT's answer, I've heard that they also have their money invested in several different banks overseas so that if something happens to one of them, the rest of the money is still safe. I hope this helps!