The gathering in Scotland brought together industry leaders amid a growing debate about the safety risks of unchecked artificial intelligence.