When Elon Musk first drove a prototype of a Model S out from behind a curtain in 2009—telling the crowd they were looking at what would become the first affordable, mass-produced electric car—it was ...