> which would have offered them a higher market share
That's huge leap of logic. Android has a larger market share. Android vendors don't automatically get more market share. They still have to outcompete the other vendors.
Given how commodified the Android space is, it's not surprising they saw the Windows hail mary as a relatively more differentiated approach. Obviously not as differentiated as a proprietary approach, but given they couldn't pull that one together in time, they didn't exactly have a plethora of awesome options. Become yet another commodity Android vendor, or try to be the "Samsung of the 3rd platform" so to speak.
Too bad that 3rd platform didn't work out. It was a risky bet, but probably the only shot at a sustainable business. Really their fate was sealed a long time ago when they missed the shift towards sophisticated software platforms.