Personally I don't think electrics have reached their peak yet. Batteries are still in development, motors have come a long way but could still do more.
Battery life depends greatly on a number of things. If you don't drive the car every day, you're not doing a charge cycle every day and this means you're not impacting the life of the battery. If you maintain the battery in a nominal temperature range its life will be extended. Take it out in the desert regions of Australia where the overnight temps will freeze the balls off a brass monkey and the daytime temperatures saute the poor monkey and battery life will suffer. Newer technologies will combat this more.
The other thing to remember is that while you're using an electric motor you aren't consuming fuel or oil. There's no gearbox or clutch. The brakes are regenerative - rather than applying pads to discs to slow the vehicle, EVs push a generator with the car's momentum (it's a function of the electric motor and its smart circuit). So you'll probably find that the highest wearing item in the car will the windscreen wiper blades, instead of oil, fuel and air filters etc.
If you add up those reduced service costs over the life of the vehicle, you may just find that the replacement cost of the battery isn't as ominous as it seems when simply looking at the base cost.
And that too might change. There's talk about using replaceable batteries in packs for EVs rather than having them built into the structure. There's a company here in Australia that does this with trucks, and rather than having to stand beside the truck for half an hour while 800 litres of diesel is pumped into the tanks, the trucks are changing batteries in about a minute. That beats a Tesla by a long margin. It means that you would pull into a service station, pop out the expended pack, pop in a charged pack, pay for the exchange and drive on - which could take just a couple of minutes (even with a queue to grab some more Red Bull and a pack of durries).
Replaceable batteries mean that your car's life is not restricted to the battery at all. Manufacturers may not like this particular path, but there are so many advantages to it that it might eventually see the light of day.
https://www.januselectric.com.au/