That’s 20 million headsets with ~zero to negative profit margin on each sale.
Meta’s investment in VR has been a dumpster fire, but the headset R&D isn’t where the overwhelming majority of that money is going. They’ve done everything from making VR movies to promoting 3rd party games most recently spending 400 million for beat saber’s publisher.