Since I work with equipment that gets pretty hot (you see it all the time in fire trucks), I can tell you for sure that your Samsung is really going to heat up, especially after it's been on for a few hours. Those bigger models like the QN65Q80D have way more processing power and dissipate more heat than smaller TVs. What matters now is figuring out if it's "normal" heat or if it's actually too much. Put your hand behind the TV (unplugged) and then turn it on, wait a bit and compare. If it gets warm to the touch like a phone charging, you're good. If it burns your hand or becomes impossible to touch, then something's actually wrong.
Air circulation is really crucial here, it's not just some random tip. If you've placed the TV right against a wall, inside a closed cabinet, or with pillows/stuff piled up behind it, the heat can't escape and the board ends up trapping everything. You need to leave at least like 10-15cm of space behind and on the sides for air to circulate freely. If it's inside a panel or shelf, open up the sides more or put fans pointing at the area behind the TV. It makes a huge difference, trust me.
If the space is fine and it's still heating up too much, then it could actually be a defect in the dissipation or the internal fan not working properly. But my bet is it's just a space issue. As for energy consumption, don't worry about it - getting hot after 5 hours of being on is super common and doesn't mean it's using abnormal amounts of power. Just let the TV breathe and it'll get way better.