Tim Cook notes India’s value amid record earnings, with AI investment in focus IFTTT