President Donald Trump has sent an ominous threat to Vladimir Putin if Russia does not sign up for a deal to end the war with Ukraine.