BMW plans to set up a car factory in china