Tesla sold 486,532 electric vehicles globally from July to September, marking a 2% decline from the same period a year earlier. The third-quarter drop reversed the gains the electric-vehicle maker recorded during the first half of the year, the company said Friday.