Regulatory and Legal Frameworks for AI