US stocks hit records as Palantir and others post strong profits

US stocks reached record highs on strong earnings from AI-linked companies like Palantir, as oil prices eased.