They aren't in a capital intensive business. Does this mean they have to throw away their money on frivolous investments?
Having a ton of cash does not change the economics of any single investment. Every investment decision is based on the individual parameters and expected outcomes and circumstances surrounding it. You don't think, "Hey, this is a shitty investment, but we have a ton of cash, so if this one sucks, who cares!"
So let's say Apple sees value in acquiring eBay (ridiculous, but it's the hypothetical put forward by OP). They take a look at eBay. Nothing about the acquisition changes because Apple happens to have a lot of cash, except for maybe the cost of the purchase, which in current interest rate environments is almost negligible (they can borrow extremely cheaply as evidenced by their latest massive bond sale).
Say Apple wants to build a revolutionary new TV. That is not a huge capital investment. They just keep paying their engineers and designers, perhaps hire a few more. The cost of this labor is not even worth mentioning. The manufacturing is contracted, they don't have to buy a bunch of machinery. In fact, they can announce the product and get a million pre-orders before shipping and pay for the whole thing in an instant.