Earth in fact has become so toxic that -- centuries before our story actually gets underway -- mankind has abandoned the planet. We're now all living aboard the Axiom, this massive spaceship that circles high overhead. Waiting for the day that the planet once again becomes inhabitable.
But the only problem is that mankind hired this enormous, inept corporation -- Buynlarge -- to supervise the clean-up effort. And that company -- in turn -- sent hundreds of thousands of robots down to the planet's surface to pick up all of the trash.
But Buynlarge's Waste Allocation Load Lifters -- Earth Class units really weren't up to the task. And so -- over the centuries -- these robots slowly began breaking down. Until now (as the film's story finally, officially gets underway) there's only one WALL E left running on the entire planet.
And so every morning, this WALL E powers up and then tries to accomplish the task that he's been programmed to do. Which is pick up all of the trash that's been scattered around the Earth. It's obviously an impossible job. But still this robot (with the help of his pet cockroach, Spot) does what he can every day.