The World and Artificial Intelligence: A legal perspective