Legal Challenges with Artificial Intelligence and Automation