Find all directories (type d) up to a maximum depth of 3 (maxdepth 3) in the current directory (.), and for each directory found (| xargs -I %), move it (mv) to the directory /tmp/random_directory.
find . -maxdepth 3 -type d -name '*' | xargs -I % mv % /tmp/random_directory