Man who was beaten and left for dead says people walked by as he needed help