I had thought the same thing myself. But I do think there are efficiencies in having the power company generating the electricity vs everyone having their own combustion engine in each car.
And doesn't Germany have lots of renewables like PV? One could have a nice setup to have their PV panels charge their car or a battery pack to charge their car later (yeah charge a battery to charge another battery seems wasteful). Although some say that PV panels just export the pollution to china since they take lots of energy to create (and they use coal). Haha.
I think in the end there's no silver bullet to the worlds problems. Just different ways to waste money.