Apple's stock drops due to engineering issues delaying its foldable iPhone and a patent ruling in China favoring a local AI company.