You could extract them from any of the builds on the Libretro server. But that’s probably more painful than simply downloading the ZIP file from the GitHub RetroArch Assets repository. You can find the PNG files in the /xmb directory and the SVG files in the /src/xmb directory.
GitHub is where we store all the source code for the project, including all the icons.