Apple reported better than expected revenue Thursday as investors eagerly await evidence of financial growth amid Apple’s push to bring generative artificial intelligence to iPhones, though a major tax ruling weighed on the company’s profits.