King Charles is set to host an AI summit as fears grow about the technology’s potential threat to humanity.