The investment will fund R+D, capital expenditure, manufacturing scaling, ecosystem partnerships, and strategic acquisitions.

IBM stock added to a big recent rally after analysts with Barclays said the company's software shift and quantum push make it a buy.

The investment will span research and development, capital expenditure, manufacturing scaling, ecosystem partnerships, and M&A.