Artificial intelligence: Navigating the legal landscape