Odd how the history played out. Mac OS X began as NeXT's OS (NEXTSTEP). When NeXT failed to get market traction with their high-end proprietary hardware/OS platform, they abandoned hardware and became a software/OS company. Microsoft already owned that space however. When NEXTSTEP the OS failed, they sold to Apple, became Mac OS X and later iOS, and went back to being a high-end proprietary hardware/OS platform. Microsoft however, long successful as a software company, is now facing the prospect of having to compete as a complete hardware/software platform, something they've never done, and something that Mac OS X (as NEXTSTEP) failed at previously.
I guess it just shows that neither strategy is necessarily the "right" one. It's all about providing what the market wants, when it wants it.