Apple faces stiff competition from Samsung but is in a strong enough position to weather a weaker quarter — as long as it delivers on the promise of the iPhone 8, said Thomas Cooke, a professor at Georgetown University’s McDonough School of Business.