Dire warnings about AI risks set the backdrop for the dinner, where many of the world’s wealthiest and most influential will gather.