Donald Trump has threatened to slash the US assistance to Ukraine and said he would seek to end the war instigated by Russia within days of taking office.