In China, where not long ago Buick and Chevrolet were two of the most popular foreign brands, General Motors’ profits and market share have tumbled.