President Recep Tayyip Erdogan says an offensive is driving civilians towards the Turkish border.