I mean, companies literally made rack mounts for Mac Minis, to install 6-8x of them at once in proper server racks. They didn't build this because no one was using it.
First, even though there were quite a few decent-sized Mac Mini deployments like you're describing, I'd be genuinely surprised if that accounted for a decent chunk of Mini sales overall. Some, sure! But most? I wouldn't expect it.
Second, does any of that require running Server? We have a database and application server in the office here, but it's not running Server: it's just plain macOS running daemon processes.
Why would people buy that over the iMac for daily use?
Also, I bought a Mini for my desktop because it's tiny, cheap, and powerful, and I can use my own screens.