The carmaker reported $3.1 billion in profit from July through September, which included two weeks of walkouts by the United Automobile Workers.