George Soros pledged to invest up to $500 million in programs benefiting migrants.