Researchers have designed two types of nano-sized building blocks that can automatically connect into cubes and scramble back into individual components based on the temperature of their environment.