In the last decade, much of the HK stock market (and economy) is propped up by Chinese money and these outflows. Shell companies are sold in Hong Kong just because they are listed on the stock exchange - the underlying businesses are often spun-off as a part of the transaction and the resulting operation just a way to funnel money and business outside of Chinese capital controls.
The property market is also full to the brim with money from the mainland. Hong Kong has a much stronger hand than most people realise, because of the fact that the Chinese elite themselves lack confidence in their own system on the mainland.
I wonder if this is the reason China wants to get rid of Hong Kong. Their capital restrictions are useless if Chinese can move a ton of value through Hong Kong. The world still needs China, though. So it'll make a new way to China.
Maybe China has figured out: Value from Hong Kong < Value going to Hong Kong.
In this sense, the existence of HK as an international finance center brings money closer to mainland rather than further away.
The HK property and stock market is also where a huge amount of of Chinese money is parked.
Neither of these contribute to GDP but provide a lot of value to the mainland.