Water heaters
If you have some sort of chemical problem that is killing them, there is no guarantee that tankless will be better.
Every area/ water supply is a bit different. Around here the "answer" is that eventually lime/ mineral products build up in the bottom and the bottom element overheats. You are supposed to flush them periodically, but nobody does LOL