My take on it.
Looks like they made it to the Engineers home world, you can see a cloaked figure walking pass thousands of corpses. They got there, found the place 1000 years too late, David was rebuilt, killed or mutated Shaw, she became part of the ship, then David went to a new world to play god?