You're completely ignoring the vast amounts thrown into a marketing funnel in an attempt to acquire customers for their usually meh products.
And engineering teams usually scale up with revenue as well.
I feel like your numbers are the myth that gets told not what actually often happens