What happens in that game is that Nakamura locks up all the pawns and then sacrifices some material. Rybka, because it's up material, think it's winning and doesn't want to draw. But because a game of chess is drawn if 50 moves are played without a pawn move or capture, Rybka's only option to avoid a draw is to sacrifice a pawn, blowing open a hole in its pawn wall and thereby seeding its own destruction.
The mistake that Rybka makes is one that even a patzer like myself can understand. It's a mistake at a level well below human grandmaster quality.
You can read more about anti-computer chess in general here: http://en.wikipedia.org/wiki/Anti-computer_tactics
Computers are better than humans on average, but not in all dimensions.