I just tested HandBrake transcoding a large MKV file to MP4 on my top-spec 2015 iMac 27. After 15 minutes, it never hit thermal limiting, as monitored by Intel Power Gadget.
I then ran Prime95 on both my 2015 iMac 27 and my Windows PC with a 3.8Ghz i7-875K, and they both hit thermal limiting after a few minutes. The Windows PC has a Noctua NH-D14 cooler, plus additional 200mm top and side case fans, plus the CPU uses the Indigo Xtreme thermal interface:
http://indigo-xtreme.com/page-bab.shtml
Supposedly thermal management was improved from the 2014 to the 2015 iMac 27. This video examines the difference:
As a video editor I transcode a lot of material and I don't see my 2015 iMac 27 hitting thermal limiting frequently, if ever. You can probably drive most PCs *or* Macs into thermal limiting with a dedicated stress utility.
For normal production work I don't see any thermal problems on my iMac, and when running stress utilities, the huge cooler on my PC doesn't keep it from eventually hitting thermal limiting.