The surprise increase was the first since the electric-car maker’s earnings began to slide earlier this year as it turned to deep price cuts and other sales promotions to stimulate sales.
The company’s global deliveries rebounded in the third quarter, reversing earlier declines that had stoked concerns about its ability to grow its car business.