The other danger is that forcing a kid to learn a skill they're not interested in early can turn them off to it all together.
I haven't done a ton of research on this, but I do know that often when kids start early, they can also burn out (look at child actors as an example). The only area I've seen research on a real difference is children who learn languages before age 5 (and how they process the languages in their brain)
There are some amazing developers who learned to code as adults.
While it could be true, I'm pretty skeptical about age five versus age six being the difference your friend didn't become a world class pianist (sounds maybe like an excuse for not having the talent, discipline or simply the luck, which does play a huge factor). Starting early may help their technique and memorization to some extent, but afterwards judging a musician is highly subjective, and even someone who plays well at one moment in history, may not at another.