You're basing on the general population which is wrong. Firstly, you cannot say half the people have subsidized housing and thus the median income is too low in HK for half to purchase. They already have for life subsidized housing.
Second, you should consider the % of people who own property. In San Fran it's 41-46% whereas in HK it's 50%. Not sure if these numbers are correct but basing on "median income is 16k" is just stupid. You have no numbers to support what you're saying either.
https://tradingeconomics.com/hong-ko...ownership-rate
https://www.google.com.hk/amp/s/sf.c...wners-sf-repot
https://www.google.com.hk/amp/s/www....ea-cities/amp/
Further, the article above says that you need 28.7 years to save up the down payment for a property in San Francisco. Someone earlier posted that you need 10 years to save up to buy a property in HK.
HK has great opportunity and it's sad that expats come here and bash it. I always ask why don't you go back home and expats always say no no. Washed up losers who couldn't make it back home and have no appreciation for this flourishing place.