In the ensuing years IBM struggled in PCs, lost a few billion dollars and watched a huge portion of the industry's profits flow to Microsoft. By the early 1990s IBM had spent more than $1 billion to develop its own PC operating system, OS/2. It realized too late that Microsoft's endorsement of OS/2 was hollow and that Windows would send OS/2 to the junk heap.
Entire article can be found here.
Source: Forbes.com