The deal symbolizes the growing trend among large tech firms to form alliances to provide a wider range of AI products.