The mayor hopes the all-electric fleet will complement public transportation and taxis.