Danone and Chinese dairy giant Mengniu have ripped up their joint venture in China.