Dying dog accompanied by hundreds for "last walk on the beach"