Man City made a late comeback against Liverpool, but it was not enough as the Reds ended City's unbeaten season with a 4-3 win at Anfield.