Manchester City ended an 18-year hoodoo to pummel Liverpool at Anfield with a 4-1 win, firming up their grip on the Premier League title.