Islamist Turkish Prime Minister Recep Tayyip Erdogan has begun to threaten producers of a popular TV series about the Ottoman Empire.