Electropermanent magnet handling system for hoist,crane, robot end