Sovereign wealth funds are pouring billions of dollars back into China after a sharp investment slump.