I.e. if everyone just bought stuff back and forth from each other constantly (assuming no taxes on the transactions) the GDP would shoot up.
Edit: I.e. how does "it" know if people just bought a ton of used cars, or if people were simply selling them back and forth to each other constantly?
(and if sales between private persons wouldn't register, imagine dealers being in between every transaction)
It's not a perfect analogy (what analogy is?) but it is the kind of thing that should make you go "hmm".
What makes more sense is to compare the company revenues or profits against a country GDP.
When a farmer produces wheat the value created is equal to the value of the wheat. When a barber cuts somebodies hair the value created is again more or less equal to the price charged. A barber shop doesn't make anything that accumulates in value. This is true for most the economy. It trades at about 1x revenue.
Tech is different. Write software once, sell it many times. Design a chip once, sell millions of copies. Tech companies are the outliers. The rest of the world doesn't work like this.
Also tech is not that special. You could say the same about a factory, which you build once and it churns out cars, or a mine which churns out minerals. And to the extent this is not true, for example factories needing upgrades and labour, the same is true of tech. Software gets old, needs support, and the labour of well paid technologists.