Well, it's less of a bet and more like their capitalist ruling class was forced into it because of the sanctions. But it's been shaping up to be a good thing for Russia overall, and that should get even truer as China overtakes the US.
The West has basically removed itself as a competitor to Russia ergo subsidizing the cost of building industry by simply leaving a void. It was so obvious that the sanctions were going to blow up in our face.