Wall Street closed higher on renewed AI enthusiasm as oil held near April highs and a CNBC survey pointed to Fed rate hikes ahead, just not at this week's meeting.