The XMB was initially used in the PSX, and later the PSP. It makes sense that retroarch copied it, since the PS3 was the first platform it was available on after someone got tired of porting emulators to the newly-hacked console one at a time.