Legal and Regulatory Considerations of AI in Finance