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.