IIRC Tesla's margins are typically higher than competitors. They only lose money on each car because the R&D budget is wrapped into that. They lose money because they're investing into scale.
IIRC from a shareholders call, a Model S has margins from 20-30% percent, even after R&D is taken out. Tesla's losses have primarily stemmed from capital expenditures.