Tesla ends Model S and Model X production in pivot to robots