SoftBank Group said today it has agreed to buy the robotics business of Swiss engineering group ABB in a $5.4 billion deal.