Doc Ock's limbs in Spider Man 2 look like they've come to life thanks to German engineering firm Festo. The artificially intelligent arms were designed to mimic the utility and movement of an elephant's trunk.
According to
Geekosystem:
Described by one observer as "strangely alive" and similar to a "giant alien maggot," the trunk/Doc Ock arms were created with 3D-printed segments and connected by pneumatic artifical muscles... it also has artificial intelligence and muscle memory! It's programmed to learn in much the same way a human baby does – through a process of trial and error. Called "goal babbling," the robot trunk can attempt to grab something; remember what went wrong; make tiny adjustments in its own positioning and muscle behaviour; and then try the grab again, until it finally gets it right.
Watch it in action below: