Intel’s chief executive officer retired effective immediately, the legacy Silicon Valley stalwart announced Monday, a shakeup that follows an extended period of stock market underperformance for the semiconductor chipmaker.