R&D is exactly what an innovative, cash-rich company is supposed to do.
And it's precisely why I would never invest in Apple, no matter how promising and successful their product strategy is. Their stagnated mountains of cash are a monumental waste of resources doing no one any good.