Friedrich Merz is set to become Germany’s new chancellor after his centre-right CDU-CSU alliance won a majority.