Another common failure is the pressure relief valve failing and opening fully, spraying gallons of water out at a high pressure.
My home came with a tankless system. The heating portion is outside, which means in the summer my hot water starts at 90 - 100°F for free.

Another upside is no tank, so no failure worries. I still shut the main water valve if I go away for more than a day, just to be safe.