Vice President Kamala Harris has secured the support of enough Democratic delegates to become her party’s nominee against Republican Donald Trump, according to an Associated Press survey.