Exploring the Role of AI in Web3 Security