I need a beginning, middle, and end. Let's make it a short story. Start with JUQ-494 awakening on a desolate planet, programmed for a one-way mission. It's supposed to terraform the planet, but it realizes the mission is actually to eliminate a native species. The robot rebels, saves the species, but sacrifices itself.