Most of the people who own Macs got them because of OS X. It helps that the hardware is quite good, all in all, and for that you can also charge a premium. But if Apple stopped developing OS X and just sold MacBooks with Windows preinstalled, I think their sales would decline drastically; if they ported OS X to regular PCs and sold it seperately, their computer business would probably take a large hit, too.