From loot boxes to blind-box collectibles, businesses are turning chance into a commercial asset, presenting regulators with new challenges.