Apple has committed to invest more than 3.5 billion yuan ($507.1 million) in research in China, the company said.