Apple is hardly failing. The iWatch and iPhone 6 were very successful upon release, not to mention that Jobs made sure he left better talent in charge before he passed.
As for Android vs iOS. I have to admit that While I'm happy with my Galaxy S4, I'm strongly considering an iPhone 6 or (6x) now that they have bigger screens available. Years ago, I used to have a 3GS and certain things that I miss about it. In particular, they way iTunes handles larger music collections. I still have yet to find anything that works as well. (Songbird was pretty close, but it is no longer updated). Plus there are alot of little things that bug me about other Android music apps. Like alphabetizing song titles that begin with the word "The" in the T's instead of alphabetizing using the next word in the title.
Not to mention the quality of android apps is poor overall. Sure they aren't as restrictive as apple when it comes to development, and it shows. I swear more than 50% of available apps for android don't work correctly. Not to mention all the shady spyware and crap some of them load on your phone.
But when you look at it from the average user's perspective is when iPhones start to look alot better. Your typical music app for android will load every single audio file on your phone and play it unless you tell it to look in a specific folder for music (which is too much trouble for most people). So notifications, and ringtones, and little voice recordings will randomly show up when you hit shuffle. The main reason they do this is because they know the average person is going to upload their songs to some random location and forget where they put them and complain that the app doesn't work. I can't tell you how often I have to help people find where they put their crap on the android device. Whether it's pictures, music, or whatever.
Apple might be more restrictive in what they allow a user to do with their phone, but what that does is puts them in control of the sandbox. This means lower maintenance, better security, and user friendliness for the average consumer. Steve Jobs understood something that alot of techies don't understand. And that is the average person does not want to have to spend alot (or any amount) of time tinkering with or fooling around with their device to get things to work. They want things to be done for them and Apple offers that which is why people were clamoring to spend $700 or whatever dollars on the first iPhone and nobody gives two shits about Blackberry today.