(Reuters) -Apple Inc on Thursday reported profit and sales that beat Wall Street expectations, navigating parts shortages better than predicted and benefiting from unceasing demand for iPhones even as inflation has consumers tightening other spending.