Turkey will ‘never surrender to terror’, Erdogan says