It doesn't do machine learning. It does stereo reconstruction, hazard analysis, map generation, and path planning using stuff like D* and Gestalt.
It also physically moves very slowly, which gives the ancient processor time to keep up.
It is the main processor, tying together a number of hardened FPGAs. They’re also old, but the point is they can be reprogrammed from Earth to do whatever NASA needs.