Foreigners will soon be able to buy US residency - and a pathway to citizenship - for about $5m, Trump says.