Intercontinental Exchange, the parent company of the New York Stock Exchange, plans to invest up to $2 billion in Polymarket.