General Motors is getting smaller but more profitable