As a radiography student I remember being impressed that something like 99.9% of the energy used trying to make x-rays off a tungsten target were actually just turned into heat. Then a pretty tricky engineering problem arises trying to dissipate it. Rotating anode, bigger anode, fancy liquid bearing, air cooled, water cooled, massive fans etc. And still I would run into the error message about too much heat!