A surprising amount of Hong Kong's military buildings still exist. Sometimes because they are in out-of-the-way places that noone has thought about redeveloping yet. Sometimes because they are still under the control of the military authorities, and so are out of bound for redevelopment. And a precious few are considered listed buildings, and so are actively protected.
During its time as a British colony, Hong Kong's role as a military base went through several different phases.