>acquire experience there as you build everything from scratch across the whole stack
This is not usually how it works. In fact in my experience, the moment a company becomes a scaleup and brings new leadership in to handle growth, those people start getting rid of the hacky jack of all trades profiles.
Larger companies usually value specialized profiles. They don’t benefit from someone half assing 20 roles, they have the budget to get 20 experts to whole ass one role each.
Career paths in large companies usually have some variation of “I’m the go-to expert for a specific area” as a bullet point somewhere.
Smaller companies necessarily have a small team stretched across broad responsibilities, that usually describes startups. If it's scaling up then yeah, that changes. You want to join small teams for broad experience, startup or regular business.