The other apes are intelligent enough for their niche. At some point in humanity's past, the environment was harsh enough that the less intelligent ones died.