Microsoft has agreed to acquire Bonsai, a US-based machine learning technology developer, for an undisclosed sum. The deal allows investors Samsung, Siemens and ABB to exit.