Kim Potter, the US police officer who killed Daunte Wright and the police chief of Brooklyn Center, Minnesota where the fatal shooting took place have resigned.