Meta, whose metaverse arm Reality Labs has lost billions of dollars this year, joins other tech firms in reducing head counts.