Sales of Tesla’s aging lineup of EVs have declined over the past two years, although high gas prices helped boost deliveries in the third quarter