US President Donald Trump threatened to impose sanctions on Russia over the war in Ukraine and called on the Kremlin to stop the conflict.