Apple on Thursday reported quarterly results that topped analysts' profit projections despite supply shortages, economic fallout from the Russia-Ukraine war and a growth slowdown from the huge sales lift that technology products and service got from pandemic restrictions.