Apple CEO Tim Cook is on a visit to Shanghai, according to a post on his official Weibo account on Wednesday, ahead of the inauguration of a new retail store and declining iPhone sales in the country.