That's a little hard to answer as Apple iOS is wedded to Apple's hardware while Google Android, being a Linux distribution, can run on anybody's smartphone, tablet, laptop, desktop, or server. I'd give Android an edge just for that one, personally. Android also retains much more of its Linux underpinning than iOS does its BSD underpinnings as well; most of the typical Linux tools are either included with or can be gotten and used on my Android smartphone.
I will say Apple's hardware sucks. Their decision to use a fragile glass screen in a smartphone which gets handled, dropped, stuck in pockets, put in purses with god-knows-what-else, and generally abused is an extremely terrible choice. Just about every iPhone I have seen that isn't brand-new or in an armored case the size and weight of a brick has a smashed screen which makes it almost unusable. Some Android devices make the same mistake but many do not.
Android can actually run on an iPhone as it is simply Linux. It's not easy but it can and has been done.