You shouldn't compare the OS-es that way, otherwise Mac OS X is a clear loser, because it only supports Apple hardware.
If we are comparing the two OS-es the only fair comparison we can make is the peripherals, where again, I doubt that OS X would win, sure it has great support from a lot of descent vendors, but again Linux support is huge, not because of the companies interest but because the developer community does a great job in writing drivers at an insane pace, heck they even managed to make broadcom cards work using binary blobs created originally for windows.