US President Donald Trump said that Ukraine might "end up with a little bit different shape" as part of a peace settlement.