The S&P 500 is at record highs but stocks showing no clear path to profitability have been punished.