US stocks hovered around their record highs on hopes of September interest-rate cuts and as strong corporate earnings drove the biggest technology shares higher.