Palantir and Tesla led sharp stock market losses Tuesday. AMD, Astera Labs and Arista Networks were earnings movers late.