King Charles has warned there "is little time to lose" to make sure humanity is protected from Artificial Intelligence.