In all situations, as a team leader, one has to find a use for the "village idiot" that as the article already states, that doesn't do more harm to the team.
A sign of how "good" the team is, is how the individual members treat the well meaning, but incompetent, team member without guidance from the lead.
In a volunteer organization, it's imperative to keep all well meaning contributors on board, but in a company, that person has to eventually be moved out of the team since they're a drag on the group and definitely not suited for the position they're occupying. That's in an ideal world.
However, in real life, in a job situation. Nothing is ever this cut and dry. Not all "idiots" are well meaning, actually most aren't. There are also other dynamics at play at work, maybe the "idiot" is the owner's son... so there's nothing to be done, but elevate him to the level that the "owner" expects. At least for some "blood" relationships, the higher up actually recognizes the person is a cock-up, but has no choice because he/she is family.
It's actually even worse when the employee "idiot" is a "favorite" of one of the higher ups with no blood relationship. These people are the most dangerous to deal with. They can exert extreme negative pressure on your career since they have some "relationship" with the higher up, and that higher up will never listen to reports that they're favorite pet is not qualified for the job, nor doing a decent job, and usually the one that reports such things gets penalized for telling the truth. It's these people that make one's professional work life misery. It's even worse when there is some sort of romantic relationship between the "idiot" and the person higher up in the chain, especially if one or both have other official "significant others". :-( sigh.
Unfortunately, in real life, at a job, one just has to try to minimize the impact on one's team, and shut the eff up and put up with it.