Researchers from the Georgia Institute of Technology created robots that mimic blackworm "worm blobs" in a development that could help roboticists build swarm robots that carry out functions via a complex teamwork process.
See https://interestingengineering.com/researchers-develop-alien-inspired-robotic-worm-blob-swarms