Robot bending pipe in modern factory