Okay, but what you've shown is that you can build a cheaper system with cheaper not-so-top-of-the-line components. Well, sure. You can also buy a cheaper iMac.
Xeon is a server-class CPU, the i7 is a desktop class CPU...doesn't mean they're not both top of the line components. Couple of major downside of iMacs (I have an original 5k iMac) are that I can't use it as a monitor for my other systems and I can't upgrade anything (RAM is already maxed out.) If you're all-in to Apple's ecosystem, it might make sense, but I just don't see the value myself (having a ton of Apple tech, but slowly moving away, I can't justify the $ when I can build an upcoming i9 or AMD Thread Ripper (terrible name btw) based machine for half the cost with similar/better performance.) Yep I'll lose OSX, but Win10 + Linux Subsystem solves most of my needs.