With the explosive growth of artificial intelligence, state lawmakers have started looking at the technology in subject areas such as insurance and education.