Apple CEO Tim Cook visits China, meets with official