Apple is discussing a potential deal to integrate Google’s artificial intelligence platform Gemini into the iPhone, in what could be a major deal between the rival tech giants and impact the wider AI industry.