Paris St-Germain missed the chance to win the Ligue 1 title at the third attempt as they lost 3-2 to Nantes.