Um, tankless actually do take less energy for the same amount of water. Both electric tankless and tanked are 100% efficient. The difference is the tanked is constantly losing heat through the insulation, and having to run the heating element periodically to maintain temperature. That doesn't happen with the tankless. Simple physics.
However the insulation is pretty good, and the losses aren't a lot.
What is expensive with tankless is the electric service to run it. With 150A of service dedicated just to the tankless, it means getting 400A service for a house that could otherwise use 200A. That is expensive enough that realistically payback will never happen.
Now, if you want to get that tankless on a 200A service, first you will need to put the EVSE on a load-shed device so it drops out when the heater runs... and then, you'll need to have an all-gas house with a modern mini-split.