Donald Trump and Kamala Harris have both taken their campaigns to the battleground states as the election remains on a razor's edge.