The energy density of gasoline is extremely greater than that of batteries. And only now, well over 100 years after those early cars, are batteries starting to catch up.
What this means is that the range, the power, the utility, of motor vehicles would have been drastically lower. Now while that would have had environmental benefits, the human race would be far poorer today. As cheap energy has driven the growth of the economy.