Apple on Monday announced a new iPhone built for generative artificial intelligence as it seeks to boost sales and show…