Tesla’s stock swung after the company reported third-quarter results that missed Wall Street expectations.