To eliminate the car, we'd need to move all of humanity into tiny apartments in super-dense cities, something that isn't practical nor desirable given the current design of cities and the current state of society.
(There's also the issue of 'where does food come from?', and the fact we can't fully automate farming yet, so still need people to live and work where the food is produce, in places where cars are essential)