It's true, it's heavily unfair that the tech giants have better access to manufacturing, etc. And while I 100% agree with @scott_w's sibling comment, this not even the only factor.
How many people do you think they have dedicated only to supply chain management ? This is such a wide domain, we don't see it all from here: they have engineers dedicated to sourcing, to manufacturing, testing, evaluating new sources; people in charge of a given supplier; people in charge of the various type of transport, of recycling, etc. All this is in-house expertise, and definitely gives them an edge.
If you look at most big auto manufacturers; they too are suffering from shortages. So it seems tech giants must be doing something better.