U.S. stocks ended mixed as oil futures jumped, bond market volatility persisted, and doubts arose regarding artificial-intelligence profits.