Protectionism in some areas is fine. I do not know what would be the correct solution though. It is understandable for China to want their local corps to build base in china ( like wechat, baidu and others ). But at some point they should ease the laws for companies like facebook to be able to operate in China as well.
I'm not certain that you understand how China (as in the People's Republic of China) works. They have a completely different tradition of philosophy and ethics from the west.
Yes, from our perspective, they should ease those laws. From their perspective, there is no disadvantage to them in keeping them in place as long as it is possible. It would literally take international pressure similar to the Eight-Nation Alliance, Boxer War, and "century of humiliation" to temporarily stop China from favoring domestic companies with operating restrictions and to stop sweeping it under the rug whenever those companies blatantly cheat, steal from, and infringe upon the imaginary property of foreigners and foreign corporations.
The existing Chinese government sees international trade partners as resources to be exploited for the benefit of China (and also its government officials, naturally).
Foreign companies are cutting their own throats to try to access the billion people of the Chinese domestic marketplace, and the Chinese companies are catching the blood and making sausages from it. People are going in with Adam Smith in mind, and getting Sun Tzu in response.
Facebook should not be operating in China. It shouldn't even be wanting to operate in China. It either gets eaten by Tencent directly, or Tencent copies every last byte of technology Facebook deploys in China, then the government tweaks their Firewall to block Facebook long enough for people to switch to the copy, and Facebook can no longer compete.
If you are not Chinese, there is no long-term future for your business in China. And in China, that is considered virtuous governance. In the west, fair and non-discriminatory dealings are considered virtuous, but China is not the west. They have been their own thing for thousands of years, and their thing is not your thing.
You can make money in China in the short term, but the only way to continue that into the long term is to viciously protect the secrets of your competitive advantage. Patents, copyrights, and trademarks won't help you. Well written contracts won't save you. The only reasonable way to operate in China is to keep all the critical elements of your operation somewhere else. Never give a Chinese company your source code or engineering documents, unless you want to see your work in a competitor's products.
If you want to work with all those brilliant Chinese people, make it easier for entire families to emigrate to your country. As long as they remain in PRC jurisdiction, or have significant ties back to people remaining in it, they will never truly be working for you, or even with you.
Economic sanctions are pretty much the only tool available to countries that want access to Chinese markets. And they are roughly equivalent to protectionism.