Paris Saint-Germain produced a stunning late comeback as Atalanta's season came to a dramatic end in the Champions League on Wednesday.