General Motors says it has become the first global automaker to sell 2m vehicles in China in a single year.