The theory breaks down when you don't spend time with anyone, because you can't divide by zero!
A live human being is no more influential to me than a good book. If you really want to get a good "5" and you can't find enough talented people, consider replacing your unwanted friends with dead trees.
It might be different for people with very strong personality but I think it is generally true that we are strongly affected by the people we surround ourselves with.
Interesting thing, the effect is somewhat "laggy". I spent few months with a very hardworking person but I didn't really start following in his footsteps until after 3 months. When I stopped interacting with him, I kept my new-found diligence for 6 months before starting taking things easier again (though I can say I do work harder now than a year ago).
During my first few months here I also started paying more attention to punctuality. But when I started spending more time with my constantly-late friend I lost it somewhere along the way.
So yeah, people around you do affect you in many little ways. It's possible you don't see it, because the change is usually small and happens over time. Would I select my friends basing on their success? Hell no.
This article unfortunately came out in a Tim-Ferris-four-hour-work-week-over-the-top-douhbagery sort of way, but I think the author means well. We shouldn't be sucking up to successful people in hopes of befriending them for profit, nor should we ditch our "go nowhere" friends for fear of drag. But we can always strive to put ourselves in environments that positively influence us.
Are you overweight because your friends are overweight, are your friends overweight because you are overweight, or are all of you overweight because you live in the same unhealthy culture?
Could be that there is no causation at all - just meagre correlation: your friends have nothing to do with your weight, maybe it's just because all of you live close to McDonald's, your close proximity allowed for stronger friendships and bigger bellies.
My (German) hometown friends are all thin, maybe because there is no fast-food around, maybe because we have to walk more to get to places, maybe because of a different food-culture we all come from - in this case, it has nothing to do with what I do with them, but what the environment does with us as a group.
I see it backwardsly - the 5 people you spend time with are the ones most like my average. I'm not who I am because of my friends; they're my friends because of who I am. If I were willing to replace one of these 5 with another, I would still be me, but I would have a less-close friendship with that person.
This article seems to suggest we should all dump our current "go nowhere" friends and try to become PG's best friend (or friends with similarly accomplished humans). I counter with the Nash Equilibrium, that PG would exclude most of us, and we'd be stuck back at square one, having to be friends with plain-old each other.
The author himself whittled down his life to 2 other people. What a selfish and lonely life!