I'm replying here because @ElBartolomeo posted what I wouldn't consider an inaccurate supposition, and in which also including a link to a post that I created /started YEARS ago. I don't think there's just one thing with the iMac. It's never been that, and never was with two of mine. I believe - there's something more inherent in the entire iMac line- from the very first version of the i3/i5/ i7's.
I had one of the very first 27", i7 iMacs. In fact, I had to preorder it and then - I still ended up having to wait an extra month. I've had a second one since then. Mine has an optic drive, which the newer ones don't and have additional, optional configurations, but it would seem Apple still hasn't figured out the issue that plagues the iMac.
As a former Apple employee I know Apple will never call anything a - - "recall." They generally refer to a recall situation as a "repair extension programs" and they will always have those listed on their site, typically in the support area, and I don't believe they ever have with any of the iMac (intel) models, including 5k. Unless someone can provide a knowledge base number of an extended repair program - @ElBartolomeo is incorrect on several things.
There is **NO** 'definitive solution' and to say so would be misleading to people. It's not necessarily a power supply issue, and definitely not just a SMC issue. I had two iMacs with this issue and Apple threw every part they could at both of them (except the power supply) Apple ended up replacing my first, and the second is finally working, however it still gets extremely hot, which is one of several side issues.
But no firmware (SMC) or power management resets ever fixed the issues, and I never received a new power supply, nor any modified one. In the couple of years of receiving my replacement Apple in fact may have changed their approach to the issues they've had, but I'd to see an Apple notification on their site of this.
Otherwise, as a former Customer Relations employee, I can tell you they approach every situation on an individual basis. There's no ... "one" solution as has been implied.
Now I admit - it's been (only) a couple years, but Apple could have changed their approach to this situation, but then again - I would ask you to provide an actual Apple post showing this. It can be a pain, and I was painfully reminded myself of the "individual process" when I had to jump through all the Apple hoops, TWICE, for both of my iMacs.
Providing either of the links to Apple feedback is not a preferred way to speak to support. In fact - it's merely a method of providing general feedback to Apple. You'll be lucky if you get ANY response through that method. The best method Apple tech support (of course - better if you have AppleCare or still in warranty)
The next best resource is to get Customer Relations involved, and oddly enough, you'd be surprised how well an Apple Store will help. Combine all three, and try to keep case numbers to a minimum if not one, and /or consolidated. But you're going to get more action by talking with someone rather than through a feedback form in which you most likely will never hear back from anyone.