Certainly a factor: IIRC Hong Kong's GDP versus the mainland has gone from 20-30% to 2-3% in the ~28 years since the handover, as the mainland has modernized.
While that still puts in the ballpark of "top 5 cities", it's not quite the same (relative) prize as before.
While that still puts in the ballpark of "top 5 cities", it's not quite the same (relative) prize as before.