Back in the 90's I remember watching a late-night movie on one of the networks.
The story took place in an arid, post-apocaliptic future. The plot revolved around a little girl who befriended a cyborg killing machine. The cyborg killing machine spent the movie blasting apart a gang of evil cyborgs to protect her, and it seems like he died in the end.
It had an old west or samurai vibe to it, and it seemed pretty good for the timeslot it was in. Any ideas what this film might be?