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.
My understanding is that JDR started his business at 20, got into oil at 24, bought out his partners, started a new partnership, and then ended that partnership at 31, naming the part of the business he got Standard Oil.