Hong Kong protests fail to slow city’s role as foreign investment gateway to China, government data shows