Apple’s shares have gained about 13% since the new launches on Sept. 9, in a remarkable turnaround that pushed the stock into positive territory for the first time this year.