The $2.2 billion investment in the plant is the biggest that BMW has ever made in China, its largest market.