Germany scored three first-half goals against Italy before holding on for a 3-3 draw to reach the Nations League semifinals.