Erdogan threatens to punish media over ‘harmful content’