The problem isn't ageism, the problem is capitalism. For a long period of time in the (not too distant) past, one of the the main purposes of a company was to pay employees. Corporations in the U.S. have continually shifted goals to eschew all goals other than raw profit and growth (leading to more profit). It is EXTREMELY rare to see a tech company which offers its employees more than they are worth on the market or spends more money than is absolutely necessary to keep its employees on benefits.