Lots of large tech firms have defined career ladders with a concept of terminal levels - typically senior level beyond which there is no up-or-out expectation of growth. I think small and midsize companies that focus on fast growth will often carry this expectation, so I'd avoid those. Alternatively: small non-startups or large companies beyond their prime (again, lack of company-wide focus on rapid growth is key here).
Even there giving the impression of not wanting to advance is often a good way to mark yourself as a "low performer". A savvy understanding of politics is required in these circumstances.
Promos before the terminal level are easy because your manager wants to retain you. After the terminal level, they're used as carrots to squeeze more work out of you. One scenario to look out for is the company doing well. You realize your RSUs are worth more than job hopping, so you aim for adequate, but the company doesn't like that you opted out of the staff promo rat race.
these are the first people to go in times of trouble or politics, which is a real shame because the bulk of work in almost all companies is done by solid, experienced workers, not rockstar hierarchy climbers