The Christian Democratic Union party is projected to win the election, but the far-right Alternative for Germany is set for its best result since World War II.