Artificial Intelligence: Some Legal Approaches and Implications