Hong Kong leader Carrie Lam says the extradition bill that sparked the territory's biggest political crisis in decades is "dead", admitting that the government's work on the bill had been a "total failure."