China has shelved plans to impose the controversial anti-sanctions law on Hong Kong that has alarmed the entire financial sector and lawyers in the city.