Confidence in China’s economy has been knocked at home and abroad as growth rates slow. Photo: AFP