Bilateral commercial agreement. Agusta wanted Bell's tech support. Bell wanted to be in on something not linked to the 1950's! Actually Bell and Agusta had licensing agreements for 212/412 so this was kind of an extension of that, but in reverse.
Bell then ran out of money, so Agusta bought their share of the 139 and invested more money in the 609, thus letting Bell keep their head above water.