Harvard scientists have developed robots that can create structures using simple rules based on the way termites build.