Governments race to regulate artificial intelligence tools