South Africa captain Jean de Villiers has been ruled out of the summer internationals against a World XV, Wales and Scotland with a knee injury.