The efficiency gains Tesla has made recently, though, largely reflect its correction of early Model 3 production mistakes at its Fremont, Calif., automobile plant. Musk and his team installed legions of robots in places where human hands still work better than machines, such as running wires behind a dashboard. Sections of the system needed to be pulled out and replaced. A new assembly line was built on a parking lot, covered by a high-end tent.