The risks of regulating artificial intelligence algorithms