Legal and regulatory implications of artificial intelligence (AI)