"Surely we need sufficient means of control before it is all too late?" King Charles has told heads of artificial intelligence companies at a Scotland summit.