Investors wary of unpredictable — and often unprofitable — Internet stocks have piled into revenue-raking semiconductor shares this year.