The Dow was poised for an 8% gain in the first six months of the year, the best first-half since 2021, while AI hype fueled major gains in the Nasdaq 100.