Tesla Inc.’s new Shanghai plant has churned out popular Model 3 sedans for the past six months, catapulting the company atop the electric-vehicle sales chart and piling the pressure on cash-strapped local rivals. There was another casualty last week.