The bill, passed by China's parliament on Thursday, signals the end of Hong Kong's autonomy.