Law professor says regulating AI is ‘like buying insurance’ and precautions must be taken, especially by pioneers in the field.