The artificial intelligence theme seems impervious to war worries and Wall Street stock indexes have eked small gains overnight, led by AI.