It takes time to get to the forefront of an already-explored area, and to become a good software engineer. People who get there by 25 are extremely rare (maybe 1 in a few million). Some people peak early and some peak late, but the median (across the arts, sciences, mathematics, and technology) is around 45-55 and for technology it should be, if anything, later.
But most Silicon Valley "innovation" is bullshit and doesn't need high-power people. It needs an image of "newness" and that requires youth. It needs people who can exploit the chickenhawk instinct of venture capitalists, and that requires youth as well.