I mean, there are several competing companies now and none have matched the range of a 2012 Model S. I'd say it is fair to say that noone considered it possible back in 2012.
Now they build them with profit margins that are at least as good as the ICE cars on the back end. Their problems are related to scale and retail.