Nvidia has agreed to license technology from AI startup Groq for use in some of its artificial intelligence chips, marking the chipmaker's largest deal and underscoring its push to strengthen competitiveness amid surging demand.