AI Demand Drives Nasdaq Rally as Energy Stocks Face Headwinds