China’s economy expanded slightly faster than expected in the second quarter, new data shows, but private investment growth shrank to a record low, suggesting future weakness which could pressure the country’s government to roll out more support measures.