The EV maker seeks to avoid the quality issues that marred the launches of its previous models and ensure its new Saudi factory is ready.