Prediction markets, including the betting platform Polymarket and its chief rival Kalshi, have come under scrutiny as the business has expanded.