Many schools are using artificial intelligence to scan student emails, texts, and social media posts in an attempt to prevent school shootings.