Devices for holding work using magnetic or electric force acting directly on the work