Tencent may invest in Carrefour’s China unit with Yonghui as the French retailer attempts to stem a decline in sales.