What you should understand about these bikes is the power delivered by the motor, and the power needed to recharge batteries in a useful time frame, greatly exceeds the continuous power a human would normally exert on the pedals.
Note that I have fond memories of pedalling girls around on the back of my unassisted bike back in the day, so I might not be an average rider.
But there are also top of line electrified road bikes which are almost (almost!) like the road bikes they use in Tour de France but with an engine strapped onto them. They weigh about 11-13 kg and you'd have no trouble riding them without the assist. Of course those aren't cheap...
40 mile trips (60km?) are doable on e-bikes, but you'd have to conserve the battery. Like turning off the assist on flat terrain and only using it for riding uphill. Since you have a display indicating how much charge there's left you won't all of a sudden run out of power.
I did see an ad for some electric moped with removable batteries. You simply pull up to a gas station and swap your empties for charged ones, just like propane tanks. No waiting on a charger, but it would require total adoption like gasoline did for it to be practical.
Why not use both? E-bike for commuting and regular bike for fun? Or why not get a spare battery to carry on long rides just in case?
I've been on the fence about getting one, and normally ride a crappy hybrid bike to and from work every day, which an e-bike would be useful for. But I also do 40+ mile trips on weekends and am afraid that if the battery dies, I'll be lugging a heavy bike around and exerting extra effort compared to a bike without a battery.