Worldwide, sure, but look at developed countries where most of the profit comes from. In the US in 2018 63% were iPhones and 36% were Android[1]. Android usage is even going down in some places, such as Canada where it went from 46% to 39% between 2017 and 2018.
[1] https://deviceatlas.com/blog/android-v-ios-market-share#us