Djokovic handed his longtime rival a straight-set loss to eliminate Nadal from singles play at the Olympics.