A growing number of states and school districts are trying to put limits on artificial intelligence in public schools.