SoftBank Group will buy AutoStore shares from private equity firm Thomas H. Lee Partners and other shareholders, aiming to close the deal later in the month.