Record profits have carried the market’s valuation math and made stocks cheaper in the process.