I don't think Putin calculated private western companies waging war against Russia as well.
SpaceX, McDonald's, visa, Netflix, Mastercard, apple... Many others.
Pretty sure he did.
Import substitution is that Putin was talking about last 8 years, since Crimea.
Visa, Mastercard processing centers for Russia are moved to Russia. Now they tell us Visa and Mastercard will keep work in Russia, for russian operations only. Not working outside.
Also integration with chinese payment systems kept enforcing last 8 years. Should go much faster now...
Facebook is an example Russia began asking for an exit last days. Facebook, twitter, instagram have some problems is Russia last days. Works much better via USA VPN as for me. And they say that is action from russian side.
Quite possible Russia will follow the way of China: The Great Firewall of China and same for Russia.
The most interesting question for me is what they announce about "a ban on the export of certain products and raw materials outside the country".
Putin usually do what he announces before.
Another interesting question is Taiwan. Looks like something is going to happen there...