You still have to worry about it, take it with you from A -> B -> A, carry your helmet, ensure it is always charged, reserve space to store it at home, and spend who knows how long dealing with insurance if it is stolen, as well as now being without your bike.
I do a lot of commuting on my ebike, but their are clear situational benefits for the alternative.