Tesla reported better-than-expected third-quarter results.