They used to make hot drinks really hot just for the purpose you mentioned, but in the last few years they are just lukewarm to save money on electricity
I guess also to avoid bodily harm. Iirc the famous hot-coffee lawsuit (about a woman suing mc donalds because the coffee was too hot), was because it was much hotter than it needed to be, which gave her 2nd (3rd?) degree burns (also I think the lid wasn't correctly attached?) and she hat to pay >$10000 in hospital bills.
Thanks to you comment I finally know why the coffee was so hot in the first place.