VfL Wolfsburg came back from the brink to knock Schalke 04 out of the German Cup with a 5-3 victory on penalties on Wednesday.