Infosys cofounder Nandan Nilekani told a Shell executive that companies should not bet on today’s hottest AI tools but instead design flexible systems that can absorb future models.