China has approved a contentious national security law for Hong Kong that is seen as Beijing’s boldest move to date to clamp down on protests and reduce Hong Kong’s autonomy