Tesla loss shows perils of lower-priced Model 3