AI has been the ‘Wild West’ for investors. But now a sheriff has come to town.