Bookmakers and online gambling operators take bets on sports and casino games under national and state licenses.