Daimler has announced that it is to take a 12% stake in its Chinese partner Beijing Automotive Group (BAIC).