Regulating Artificial Intelligence: Challenges And Perspectives