Obviously, Roscosmos cannot compete on commercial grounds. But, same as NASA, it doesn't operate primarily on commercial grounds. Russian state will be there to keep it afloat as long as they are able to, not only for geopolitical but military and propaganda reasons. To give up on Roscosmos would be an outright admission that Russia is not a global power any more. That would play very badly.