Building electric cars is not exactly good for the environment either. They're also loud and kill people in accidents a lot more often than subways do.
And they do nothing for the congestion problem either. Private vehicles are simply a horrendously inefficient way to move people around, regardless of the source of motive power. Not to mention how inefficient (and people-unfriendly) use of land highways and parking lots are.