Shenzhen is a new city and tech stuff are there because of the influence of Guangzhou as production hub and HK as facilitator for access to the west.
Beijing is more, let me say it, artistic. Is much more vibrant, culturally, than any other city in China. This kind of mix that you can find in New Work, Berlin or London also it brings innovation. So I don't think is meant to make the government "happy". Many Chinese tech company started in Beijing form many reasons: education, capital access, culture and so on. To give you an example: Mobike was founder by an ex journalist
Take traffic for example, it is much saner in SH and SZ because the police can actually enforce the rules, whereas in BJ you get a asense they have given up because they feel like everyone is an official or is connected to one. It is a weird city even by Chinese standards.
Yet I think my message didn't pass through since I got downvoted
Do you have a source on that?
SZ didn't seem to have any foreigners when I was there. The expat community of BJ is pretty crazy for having spent a year there.
http://www.china-briefing.com/news/2015/01/08/nali-lai-de-ov...
https://japantoday.com/category/features/kuchikomi/increase-...
Japan has twice as many foreigners as China does, with many of them concentrated in the Tokyo region.
Weird question but did you know TUN bar? Last time I was in BJ it was closed and I was really sad about it :(