A fierce spat between Qatar and leading Arab nations could see Doha shift closer to Turkey and Iran in a move that could alter Middle Eastern politics.