You can get a perfectly workable brand new E-Bike for about $1,000 in the US. While that isn’t cheap as chips it’s also not a major investment for middle class individuals.
However as a cycle commuters I’m not sure it saves much money over driving if done wrong. I’ve got a glorious bike. I chew through parts and consumables at an expensive rate.