This is Cook's second trip this year to the world's biggest smartphone market where, in recent quarters, the iPhone maker has been losing market share to domestic rivals.