The Giants lost for only the second time in 12 games, spelling an end to their slim postseason chances.