Turkey's President Recep Tayyip Erdoğan says that recent violent protests in France have shown that Europe has failed to maintain democracy and human rights.