There are not leaving because the Russian economy is going to be seriously hit. Many of them would still be viable and profitable in a serious economic crisis.
There are leaving because the sanctions make it either impossible or not worthwhile to continue operating, and because they are facing huge pressure at home and are fearing that the cost of being 'cancelled' at home would be worse than the cost of closing shop in Russian.