The 111-year-old hardware, software and consulting conglomerate is benefiting from changing investor sentiment and a preference for cash over growth.