Apple and Palantir shares retreat after strong earnings, but record results, AI growth, cash flow and valuation reveal which stock offers greater appeal.