Inspired by wasps and bees, they work autonomously and could one day even be used to build colonies on Mars.