Android was an underdog for years as iPhones rewrote the industry from top to bottom, killing Blackberry, Nokia, Windows Phone. It took years of intense focus to bring Android to parity, and lucky for Google, there are a few areas where Apple is weak...
Apple is underdog in services. To this day Apple Maps is a pale shadow of Google Maps. They're getting better to be sure, but still an underdog.