Despite the overblown controversy surrounding fires caused by severe accidents (something that all vehicles are vulnerable to), the Tesla Model S electric car has so far proven to be incredibly safe, both in official crash-testing and in real-life situations.
On top of that, the National Highway Traffic Safety Administration (NHTSA) has just reaffirmed the 5-star safety rating of the Tesla Model S "overall and in all subcategories for Model Year 2014".
This is separate from the investigation of recent fire incidents, but Tesla seems to be confident on that front, especially since the German Federal Motor Transport Authority, Kraftfahrt-Bundesamt (KBA), has recently concluded its review of the incidents and found "no manufacturer-related defects or need for further action".
On its safety record so far, Tesla wrote:
It is worth noting that a Tesla vehicle is over five times less likely to experience a fire than the average gasoline car and that there have been zero serious injuries or deaths for any reason ever, fire or otherwise, in a Model S. Over the course of more than 100 million miles driven in almost every possible terrain, weather and crash conditions, the Tesla Model S has consistently protected its driver and passengers, achieving the best safety track record of any car on the road. (source)