Scientists have created robo-cubes called M-blocks that can self-assemble without any external moving parts.