I had a unit that was just out of warranty ( 5 years 1 month, thank you Kwikhot) and the element failed with leakage to the grounded casing. There was still half of the anode left, but that cold water baffle came out as white plastic powder and crumb as I undid the element from the bottom where it was mounted. New element in, new thermostat ( 50C instead of the as new setting of "just short of boil") plugged in and a little insulation to reduce standing loss, and the tank itself failed 6 months later, leaking from most likely the pipe stub welds rusting through, as the glaze is thinnest there. Put in a new one, which is even more plastic than the old one.
Scrap yards literally only take those at no payment or you pay them, as they spend a week there stripping the sleeves and insulation off them before compacting the 10m high pile into around 50 cubes of steel, and then have to pay for dumping the removed foam in a landfill site.