The popularity of electric bikes and electric scooters (e-bikes and e-scooters) has taken off over the past few years.