US President Donald Trump insisted that Russia and Ukraine had agreed to stop striking each other's energy infrastructure.