Google is eating Apple's lunch as we speak.
Microsoft is about to take a bite of their pie as well.
Another big problem is - Apple hasn't invented anything in a while. They are riding the old wave, doing only incremental changes. Their OS is super stale and is sooo far behind Android.
They did increase the resolution of the tablets/phones, but they don't manufacture the screens, and so now everyone has high resolution displays.
From my perspective, Apple is done, unless they come up with something new and exciting. They understand it too. That's why we see lawsuits instead of innovation.