Android “won” as pyrrhic of a victory as it is since Android manufacturers besides Samsung make very little profit and every one who has money (again to a first approximation) buys iPhones. It won because Google gave it away, shared ad revenue with OEMs and it bent over backwards to the carriers and Apple wouldn’t.
And yes Linux would save OEMs maybe $30 on licensing Windows. But OEMs make mire than that on bundleware.
None of this has anything to do with the quality of the desktop of Linux or windows. If Linux had 75% market share I promise you all those things above would quickly become true for Linux as well.