In Congress and in several states, officials have been questioning online gambling companies about their use of artificial intelligence.