I call B.S. on Windows being any useful comparison at all. That is a complete historical rewrite. When Windows won, there was no Windows and there was no Mac OS - in the same sense there is today. Windows won over Mac OS because Bill Gates is a marketing genius and Steve Jobs had not yet learned that skill. Steve Jobs was still a hippie, and Windows was DOS. At the time when the choice was being made, Neither Mac OS nor "Windows" (Which was little more than a vaporware App for DOS) was the best of breed. Best of breed at the time was the Commodore Amiga. 32 bit multi-tasking, 4096 colors, NTSC (PAL in Europe) video output, quadrophonic Sound (with stereo outputs), and real-time animation against DOS's 'beep' and 16 colors 'Ascii Art' and Mac OS's 64 shades of grey and monophonic MIDI 'sounds'. The best software of the day was being written for it. Electronic Arts was born and started selling games. Disney Animator begat "Who Framed Roger Rabbit", and "Max Headroom" (who was messed up on purpose to emphasize the fact that he was computer generated) and nobody had anything to compare with that. The business world did not really use these things yet. A few forward looking business gave them to secretaries, but there were Macintoshes and PC's both at this time. High end business (like law offices) tended to use Apple because it supported Postscript, and good looking printed output was possible, and low end businesses tended towards PC's running DOS because they were cheaper, and descent printed out was achieved with daisy wheel printers because laser printers needed Postscript, and DOS didn't support it (plus the laser printer cost more than the PC did). Bill Gates was able to manipulate the market to his advantage and nobody else saw it coming until it was too late. To his advantage was indeed an open hardware spec, but none of the companies involved at the time made anything to really compete with the Amiga. Adding peripherals to even try was very expensive, and nobody really tried very hard. Commodore lost by refusing to sell their machines through the toy stores for fear they would not be taken seriously where the Commodore 64 had a virtual lock on the market at the time (The Commodore 64 still holds the record for outselling any single model of computer ever), and insisting on SELLING their demo units to computer retailers, which were all independents at the time and refused to pay for them. So customers had a photograph of a better system in a corner of the store (Amiga), a better, but more expensive, piece of hardware with little software to take advantage of it (Apple), and cheaper hardware with little software to take advantage of it (DOS). "Windows" was useless at this point. There was also Atari, but they were somewhere between Apple and Commodore, and got squeezed out by being a bit too expensive with not quite enough hardware goodies to attract attention. If Commodore had had any marketing sense at all they could have killed everyone at this point, but they missed the boat. Then Apple kicked Steve Jobs out and replaced him with John Scully who made a complete mess of the company, and started losing market share faster than Nokia in the phone market. Steve finally woke up from his LSD infested dream and realized he screwed up. Steve Jobs created NeXT and wrote what is essentially the Mac OS of today, and got Apple back when it was almost completely bankrupt. By this time, Bill Gates had done some very underhanded, illegal, and anti-competitive things in the marketplace, mostly fixed Windows to look like a useful GUI OS, bought the components for Office (all of which were Mac based!), released Mac Office to generate interest in the business world that computers could actually be useful after all, and started porting Office to Windows. Steve Jobs came back to a marketplace John Scully had already lost. Microsoft owned the OS, and was able to write little bugs into Windows to break or slow down things like DR-DOS, Word Perfect, and Lotus 123... and add hooks to their advantage for Office. They finally finished Office, dropped Office on the Mac and checkmate!
Android has not really 'beaten' iOS. It is on more physical devices, but iPhone is still considered the Mercedes and the Android is considered a Ford in the marketplace. Android is on more devices because it is indeed open source, and companies who want a piece of this lucrative market MUST use Android because Apple owns iOS. I have an Android and my wife has an iPhone. The iPhone is more integrated and more consistent, but I wanted 4G and Google Navigator. Still today, it is iPhone, not Android that is eating Blackberry's lunch, because IT Departments are "officially"supporting the iPhone because the CEO bought one. Android is making inroads in the corporate world, but there is no victory to be claimed here.