Kamala Harris has told Oprah Winfrey that anyone who breaks into her home "is getting shot" as she tried to win over gun rights supporters before the US presidential election.