Technology giants, including Meta and Microsoft, are pouring billions of dollars into the metaverse.