IBM makes money selling mainframes like Microsoft makes money selling boxed copies of Windows. They're mostly making money doing other stuff.