Chancellor Angela Merkel on Thursday accused the far-right Alternative for Germany (AfD) of using violent protests over a fatal stabbing blamed on migrants to stir up ethnic tension.