Using Intellectual Property to Regulate Artificial Intelligence