Chancellor Olaf Scholz, who lost confidence vote this month, will act as caretaker chancellor at time of rising turmoil.