China’s economy shows mixed signals amid struggles and emerging opportunities