As noted by Red Sage, Tesla had several objectives in building the Roadster. One was to develop and refine their core technologies - battery, motor, electronics, etc -so they could finance and build the Model S. The other was to wake people up as to what an electric car could be. They could have contracted with any number of car companies to source the "glider" (engine-less car) to accomplish the first objective. But a 248 mile range 0-60 in 3.9 seconds $109,000 Ford Pinto would have been laughed off the road (if it didn't burst into flames first), if you could ever find someone to buy it.
You can't change the world of transportation without first changing the preconceived notions about what an electric car can be. The Roadster accomplished both objectives, and is still active in furthering the second with every mile driven. As the owner of one, I can honestly say it's an honor to help in that regard. And also a lot of fun.