The last two years have seen investors put faith in tech and largely get rewarded. That’s as value stocks have lagged behind.