South Korea ended the World Cup group stage in embarrassment following one of the worst chokes in the country's sporting history.