There is also a software component to this. Specifically, Windows NT and Linux are both x86-centric, Windows terminally so and Linux merely conventionally so.*
*(That is, Windows NT doesn’t run on anything but x86 (except perhaps Itanium), whereas Linux runs on just about everything but most hype and development is centered around x86 machines.)
Back in the 1980s, when Unix was experiencing its Warring States period, there were double-handsful of hardware vendors selling workstations and servers, and each hardware vendor had its own proprietary version of Unix to go along with its machines. Theoretically, they were all compatible, but in reality each company would differentiate its product and try to achieve lock-in by adding features that made it impossible to move software that relied on those features from one flavor to another.
In the 1990s, Windows NT stepped into this mess and promised compatibility to both the server and workstation markets if they would dump their expensive proprietary hardware and move to commodity boxes running Microsoft software. They did in droves, and drove the traditional Unix vendors to bankruptcy. No matter that Windows NT would never be as stable or featureful as Unix, it was a bit cheaper and it’s what all the cool kids were doing. Besides, the x86 chips are really capable little dynamos and the RISC chips can’t quite keep up.
Of course, Windows NT didn’t stay ‘cheaper’. As the 1990s wore on, Microsoft went from being a fairly normal software developer to King Hell Monopolist, largely on the strength of their desktop sales. The US Department of Justice convicted them of as much. The server and workstation markets, never as deeply tied to Microsoft as desktop users are, were ready for a way off the Endless Upgrade Treadmill. In 1998, seemingly out of nowhere, Open Source happened: Netscape, losing marketshare to Microsoft in the server realm, decided to open-source their browser as a Hail-Mary to prevent them from losing the Web to Microsoft entirely. (This is where Mozilla comes from, as in Mozilla Firefox.) This had a huge knock-on effect throughout the software world, leading to massive publicity for Linux, an open source Unix clone that was ready and waiting to take over all of the markets that had been burned by Microsoft.
Linux is portable. It was portable in 1998, too. However, it was born on the 80386 and it has always been most strongly tied to x86 hardware. This was a selling point: Companies could get a great OS without kowtowing to Microsoft and without invalidating all of their hardware investments. Thus, the hardware hegemony was reinforced just as the OS hegemony was undermined.
There is a lesson here: Progress comes from the bottom up. The low-end wins, because it becomes more capable without becoming that much more expensive, whereas the high-end just becomes more expensive.
(Funny story: Remember the proprietary Unix vendors from the 1980s? A lot of them went under completely (SGI is dead and so is Irix, HP was bought by Compaq and HP/UX is extinct, etc.) but those that didn’t either switched to Linux (IBM dropped AIX and is now actively developing Linux and sharing code) or, in the case of Sun, open-sourced their Unix flavor. I just recently bought an open-source version of Solaris as a magazine premium. How the times have changed.)