As China absorbs Hong Kong, why do both get Olympic teams?

As China absorbs Hong Kong, why do both get Olympic teams?