What Microsoft actually did was make deals with OEMs and distributors so they got paid for every machine sold. In the 1980s, home computers had MS-BASIC in the ROMs, and PCs came with "Vendor DOS", you couldn't even buy MS-DOS.