Chinese factories, once lauded as the country's primary growth driver, saw activity tick down in June, according to official data.