You can get an idea of how thermally limited is the i9 iMac when you compare it to other supposedly thermally limited computers such as a laptop.
In my case I compared the iMac i9 9900K to an inferior i7 9700 inside a relatively thin laptop. The evidence is that single core GB5 score of the laptop was higher than the iMac i9 score (in fact higher than any existing Mac). The multicore score of my i7 9700 laptop was only 5% less than my iMac i9 9900K.
On the GPU front, the humble GTX 1660 ti in my laptop (6GB DDR6 RAM, mid-tier card, laptop version, a €200 upgrade vs the €540 upgrade of the Vega 48 in Europe) is, in my experience, far superior to the Vega 48 of the iMac, both when rendering, when doing machine learning modeling and when playing high end games.
The GTX 1660 ti of my laptop in GB5 OpenCL compute scores over 62,000, 38% higher than the score obtained by my iMac's Vega 48 (around 45,000). And it runs much cooler and very silent when pushed. Based on the benchmarks, it would be close to the Radeon 5700XT or Vega 64, at least in OpenCL. Thanks to a proper heat management and a good thermal design.
If a laptop design can put two silent and efficient fans inside a laptop, each for CPU and GPU, with clever heat dissipation design I wondered why the much expensive iMac has only one fan for both CPU and GPU, having much more space inside.
I can not comment on the iMac with i5 or Radeon Pro 580X.
Moreover, the i9 iMac it ended making much more noise with this single fan and having less performance out of its components. Lastly, my laptop also have a silent mode were it is dead silent and it allows still a very interesting level of performance (it has also a performance mode and an battery saving mode). I use it in a music production studio and the results are fantastic. The performance of my laptop is also superior to the MBP 16 with a similar configuration for a fifth of the cost (64GB RAM, 4TB fast SSD, etc.).
In fact, as I commented in various threads, my i9 Vega 48 iMac died after registering very high temperatures/high fan noise when I pushed it the night before (I returned it).