The regulation of artificial intelligence and its impacts on innovation