How many computers did Microsoft sell in the 00s?
AOSP by itself is pretty useless because it can't run any of the apps the public is interested in.
Google will threaten to cancel your Play Services license if you ship services (that have nothing to do with android) competing with them. Classic case of harming competition by product tying IMHO.
Your options are to install Windows on every box, to install it on none (not really an option for big OEMs), or to be at a cost disadvantage to your competitors. In practice, it was "install Windows or lose a big chunk of your business".