There's a sci-fi short story about the NASA (?) bureaucracy sending an "auxiliary maintenance system" (re: astronaut) to fix its Mars lander robots when they break, even though the same agency refused to send a person. I can't remember the author; knowing 90s me, it'd be Asimov, Clarke, Pournelle, Niven, etc.
It'll be mass. Self righting mechanisms are a thing and probably quite easy in low gravity, but they have mass, and every kilo you spend on making the machine better is one you haven't spent on carrying stuff up. Very like the aerospace problem where making aircraft heavier is worse, except that you're climbing out of the gravity well by throwing stuff out the back of the rocket which makes the ratios much worse.
What about just distributing existing mass better? I used to have a little oblong toy that was unbalanced like this. No matter where or how you threw it, it would tumble over and eventually reorient straight up due to the weight all on the bottom.
Why can’t we make it with a shape that is foolproof, like maybe a sphere?