[2308.06272] Beyond Reality: The Pivotal Role of Generative AI in the Metaverse