Agile Robots acquires majority stake in XNG Automation