Edwin Stafford charges his Tesla at an electric charging station in Mountain View, Calif., Aug. 8, 2017. Prices for lithium-ion batteries are plummeting and technical advances are increasing driving ranges and cutting recharging times: Faster than anyone expected, electric cars are becoming as economical and practical as cars with conventional engines. (Jason Henry/The New York Times)