Revenue is deceiving - If you look at a graph of IBM's Historical Revenue over the last 20 years vs. IBM's Historical Net Income, % Net is a much smaller declining slope than Revenue, which tells me they are ditching lower-profit areas consistently. Really, when you think of it revenue isn't a good measure to go by (ex. Walmart makes +$500B a year but only gets to keep a tiny fraction of that which is common in lower-profit industries like retail. Take a look at Facebook's wiki for a good example of profit vs. total revenue).
I like looking at various musings on macrotrends for big companies:
https://www.macrotrends.net/stocks/charts/IBM/ibm/net-income
Now, IBM is definitely giving all the warning signs of a sinking ship. But massive corporations have far too much power to simply die off peacefully. Each and every time, as a last resort they will pull a "Lou Gerstner" (1993, +80K layoffs in 1 year) and start over. Why?.. Because people with lots of money always win. It's the little guys on the ground that get pushed face first into the mud.