This is true for “successful tech companies” but not for “mega successful tech companies” (e.g. Top 10 of all time, like Apple Google Microsoft Facebook Amazon Netflix etc.) There you will find the median age closer to 20 than 30.
Andrew Carnegie was 57 when he founded Carnegie steel.