Amazon shares tumble 12% after third-quarter outlook disappoints