Prediction markets like Kalshi, which some liken to legalized gambling, allow investors to bet on reality. How do they work and why are they so controversial?