Social media and artificial intelligence have become a favorite target of lawmakers across the country who are using tragedies to stifle innovation that benefits students.