Daniil Medvedev gave Rafael Nadal all he could handle on Sunday night, but the Russian came up short in the end in a US Open epic.