Enhancing Compliance and Risk Management: The Role of AI in Automation