Microsoft tried to make Windows Server popular. Apple sold a server OS and even its own rack-mount servers for a while.
The people using servers, and often the people making the decisions about what to use have a high degree of technical knowledge and skill. The things that drive popularity in consumer operating systems such as being preloaded on devices and having a polished GUI don't have as big an influence on experts.
Customizability, reliability, and performance do have a big influence on what experts choose, and Linux wins on those points. There's also the history of proprietary Unix being big in the server/supercomputer market, and Linux is an obvious successor.