Your initial comment talked about "tech companies that became very profitable very quickly" as if that's some sort of accident. I'm reminding you that it is not, but a direct result of their technological focus.
Technology is a force that makes employees more profitable. Work that used to require dozens of employees now requires just one engineer writing code for multiple computing devices. Nothing "magical" about it, it's the very nature and purpose of technology.
It is inevitability. Increasing productivity is the goal of technology. Look at technology from the dawn of time, all it did was increase the productivity of labor, both individually and as a group.
Without getting into a huge topic - it also encourages a "winner takes all" set of conditions, in which companies with the right technology and the best employees control a disproportionate amount of the profits in their field.
Technology is a force that makes employees more profitable. Work that used to require dozens of employees now requires just one engineer writing code for multiple computing devices. Nothing "magical" about it, it's the very nature and purpose of technology.