A much-anticipated Olympic showdown between Serbia’s Novak Djokovic and Spain’s Rafael Nadal lived up to the billing after a slow start.