It's what attracts capital investment, which businesses need
As did Amazon, Google, Meta etc etc.
Could be wrong though.
Even a simple shop isn't profitable for months if it needs to buy stock up front, and run some ads to let people know about it. The money for that comes from the shop owners as an investment.
This is the same thing but on a slightly bigger scale, over a longer time frame.
US tech companies just continue operating because "revenue and growth".