(Reuters) - Wall Street's major indexes ended little changed on Monday, retreating modestly from record highs set during the session, as gains for Amazon countered losses in shares of energy companies.