In regard to the cup warmer.
I took one photo looking up from underneath the cup warmer (inside the machine) and another from on top.
If you look carefully at the top view pic you’ll see that there are small vents/holes for heat to escape upwards, on to the cups.