Apple makes hardware too, as its major products. They're as much a hardware company as they are a software company. The cash cache gives them a lot of flexibility. Microsoft was able to use its cash for the Xbox, and Apple can use its cash for all its stuff (iPhone prototypes, tablets, whatnot).