Why can you simply short a line-level output to ground?
It does cause heating effects. Usually a very small one, because line level is not the same as a power amplifier, but the energy has to go somewhere. Usually it's dissipated at the driver.
Many modern line drivers will be able to detect that this has happened and shut down or power-limit their outputs.