This is a valid argument and true also in my experience.
The counter argument is that "software building" is to media companies (faang) what a press is to an advertising company. Problem-solving is not the relevant value-creating activity. The perceived need is for "creators" and "operators" for the "machine", rather than engineers and problem-solvers.
Screens today are spaces that need to be filled with "cultural content". The technology itself is a public good, and they want willing bodies that don't ask questions to turn the wheels of the "machine".
This is the rationale for ageism, whether valid or not.