China has struggled to boost growth amid tepid domestic demand and a prolonged real estate downturn, leaving exports as a key driver of growth.