BMW to gain control of China venture in milestone $4.2 billion deal