One of the reasons given for avoiding electric cars is the cost of replacing the batteries but I gather that the batteries tend to fail at different times so you never have to replace a full set of batteries in one go. In-fact replacing batteries should be seen as normal wear & tear. A bit like replacing a tyre.
If replacing the batteries is seen as normal wear and tear companies like Tesla wouldn't be in business for long. The batteries, as I understand it, is the largest component of the actual engine and engine components are covered by warranty, unlike tires.