Apple Inc. is preparing to open its eighth store in Shanghai this month, adding to its largest retail network after the US at a time iPhone sales in China are slowing.