I agree that their economy is a mess. However, they do enjoy a monopoly on transport to the ISS currently and that is due to them having better and cheaper rockets than Nasa. This is being fixed of course but that is after a rather embarrassingly long decade of being dependent on the Russians and their Soviet era rockets still being quite awesome. My understanding is that their engines are still quite competitive, even when compared to SpaceX and Blue Origin. So, I wouldn't discount them outright.
If through some uncharacteristic set of events manage to pull their heads out of their asses, they are still well positioned to do awesome stuff going forward. Of course, the current kleptocracy is hopelessly inept and unlikely to get much done on this front. That seems to be the tragedy of Russia.