They had vertical integration and made bank. Then each layer got more complex as computing became mainstream, and IBM got out-competed on everyone of them by specialized companies. And then they sold them off. The only layer that remains is the most strategic: the customer relationship.
IBM is now just a consultancy.