Apple Inc. says its online stores in the U.S. and U.K. are sold out of the iPhone, a sign supplies are being winnowed ahead of the launch of the device’s next generation that will feature faster Internet surfing speeds.