Your value increases with time in terms of business knowledge, but decreases in terms of tech skills when you stagnate on a single enterprise's platform. By the time you hit 50, you've often stopped chasing that tech value, and instead your value becomes based on the institutional knowledge.
It is less about a specific timeframe as much as how you choose to focus your personal growth. It also is possible to continually increase both, but that takes even more effort.