England's Champions Trophy campaign ends with a third successive defeat as Jos Buttler's side are thrashed by South Africa in Karachi.