The iMac did indeed have *a* 5K display - I still have mine. But it didn't have the same color accuracy and selectable profiles.It's not. You used to be able to get an iMac with the same 5k monitor for this price.
If you're a photographer who processes image files, and are fussy about color, that's critical. And the difference.