This is a good 'best-case' example that anyone could hope for, and like you say - you probably need to be one of first few engineering hires to have a shot at this type of outcome.
I bet this goes the other way, especially at the exec level. That is, the best indicator of startup success is past startup success. Certainly funding is easier, building the team is easier, and the emotional decision making is easier.