Edit: This question attracted way more interest than I hoped for! I will need some time to go through the comments in the next days, thanks for your efforts everyone. One thing I could grasp from the answers already - it seems to be complicated. There is no one fits all answer.
Under capitalism, it seems companies always need to grow bigger. Why can’t they just say, okay, we have 100 employees and produce a nice product for a specific market and that’s fine?
Or is this only a US megacorp thing where they need to grow to satisfy their shareholders?
Let’s ignore that most of the times the small companies get bought by the large ones.
I see a great deal of economic rationale being thrown around and usually I love a good discussion on economics, but I believe we are overthinking the question. I would argue any group of people getting together with some shared narrative is going to want to procure more resources for themselves. This can be a family, a tribe, a friend group, a company, a nation, etc. It’s just how we are.