Well, it seems pretty clear.
This spell causes inanimate objects to move. The object moves according to its structure (balls can roll, rugs may crawl, humanoid statues can walk, and so on). The spell imparts a lim- ited flexibility, allowing solid objects such as statues to move as if they had joints.
So a drone that is offline is a valid target, or even a drone that was destroyed.
A rope could snap upwards (you know that thing where you jerk a rope up and then down and the force travels the length of the rope and the end picks up off the ground) and could restrain somebody (but it couldn't fly

), but for this sort of thing I really thing the magic fingers spell is better.
A mechanical lock could click open.
A gun barrel could bend, with enough hits Id say you could have them bend to face the wielder (would just jam the weapon though

). You could eject the clips, and you could flick the safety.