Opposition Leader Friedrich Merz is on track to be chancellor after claiming victory, while exit polls suggest the far-right AfD came in second.