You can do this with
mv **/* .
Note: this will overwrite files with the same name
This requires `shopt -s globstar` as Quasimodo pointed out:
> If set, the pattern ** used in a pathname expansion context will match all files and zero or more directories and subdirectories. If the pattern is followed by a /, only directories and subdirectories match.