Studios are experimenting with generative AI to help build environments and add improvisational spontaneity to video games.