The Hong Kong subway was designed and built during Hong Kong's time under British administration, and built as a public programme under the HK Council. It would have been far larger but for the oil crisis, but expanded a dozen times between then and now, even after privatisation in 2000. Broadly in line with HK's development, and in a way that would have been difficult to replicate back in the UK.
The governance that makes HK such a success was nothing to do with Beijing. That was the whole point of the initial emphasis on two systems during handover. Since the 1997 handover Beijing has progressively weakened and interfered with HK, to barely a peep from the West, not even Britain. Only this week there's been reports of the last truly free bookshop (where one might find anything critical of Beijing), once a vibrant aspect of HK, has closed thanks to Beijing pressure. You might have heard the recent reports of the kidnappings of booksellers and publishers.
Hong Kong was a special, free, window into China until the early 2010's. Please don't give Beijing any credit for it.