Does the Mac Mini outsell the iMac?
Yeah it does. Considerably so. Since most people already got their own monitors it's considerably cheaper to just buy Mac Minis instead, and even then buying a M2 Mac Mini and a third party monitor is still cheaper than the iMac.
It's just the nature of the PC industry now. All in ones are considerably niche and hardly anyone makes them anymore. Don't get me wrong, I love the design of the iMac. It's absolutely stunning and there's no other computer with a design like it. But it's just not selling compared to the other Macs.