This is a rigged robot arm with inverse kinematics. I was inspired by the Portal 2 videogame where similar robotic hands build laboratory walls and chambers. I recommend using Blender to animate this arm and export as a video game asset.
BLEND (Blender, filesize: 53.4 MB), FBX (Autodesk FBX, filesize: 11.6 MB)