A massive part of the success of such startups are connections, connections, connections.
The product itself doesn't matter that much, considering all the pivoting. Nor does making a profit, considering all the startups still burning VC money.
Yes, there is certainly an amount of skill necessary, but the scrappy startup that suceeds against all odds is a fairytale. Luck, connections and moral flexibility play an equally or more important part.