Wall Street losses end streak of record highs as inflation worry weighs on market