I'm not sure how competition works in the smartphone world anymore...With people invested deeply into ecosystems, it makes it a major task to switch. For example, I've purchased $300+ on movies & apps (and in app purchases) over the past 6 years. I got lightning cables galore plus I have an AppleTV. So, even if Android was slightly better than iOS, I wouldn't care enough to switch.
It's like with Apple abandoning the headphone-jack*; I want to vote with my dollars and buy a different flagship phone, but I can't because the change-over is too much of a headache. It's just easier to stay.
*I'm all for abandoning old tech, but it's asinine to say wireless headphones are the future and then ship your latest iPhone with wired headphones.