Apple is a hardware company. Their OS and other software enables them to add value to their hardware, distinguishing it from the other PC's on the market.
Microsoft is a software company. Their business model ties their software offerings and the OS in a way that enables them to sell more of both.
Two very different companies.
Also, if Apple were to recoup the expense of its software R&D, if they sold a Mac OS X version for generic PCs, they'd have to raise the price of the OS. They'd also have to spend more time developing the OS for other hardware platforms. To be sure, they'd probably do a good job, but considering the user costs of switching, it is unlikely that they'll lots of attract new users by allowing users to install the OS on a generic PC. Far more likely, the end result will be a decrease in Apple hardware sales, thus killing the company's primary revenue generator.
I dunno they have a ton of Software too (Final Cut, Aperature, Logic, etc).
A key aspect of profitability under Job's reign has been making more off software, charging for OS updates, etc.
I think they would be incuring a huge expense for a small gain by selling it for 'any old pc' too many drivers and manufacturers etc.