Tesla delivered 405,278 vehicles globally for the quarter, missing Wall Street expectations of 420,760.