You're comparing a hardware company with a software company. Meta only got into hardware in recent years. I would also point out that Meta is massively ahead of everyone in terms of VR (including Apple).
I certainly wouldn’t call Apple a hardware company. Their software is as much a part of the story of their products as their hardware, if not more so in many areas.
They definitely have a strong hardware history however.