Wall Street indexes rose on Monday as AI-linked shares extended their recovery though the benchmarks remained on course for monthly losses.