Elbilstillverkaren Tesla understeg förväntan på såväl resultat som omsättning. Aktien handlas svängigt i New Yorks efterhandel.