Republican presidential candidate Donald Trump has said he will end the Russia-Ukraine war if he wins the November presidential elections, an assertion dismissed by his Democratic rival Kamala Harris who said the former US president would "just give up".