The positive ROI may accrue primarily to the top executives who are in a position to directly make that decision. Especially in a field like semiconductor processing where risks are high on new investment, it is almost always a lower risk decision to buyback the stock. I don't know the specifics of Otellini's pay package, but I would assume that his tenure resulted in massive wealth for himself, so this is certainly rational economic behavior but severely damaged the company.