Shuttle's crew did the things the autopilot could not, all the docking, all the satellite grabbing, and certainly all the science. Buran's one flight was just an up-and-back proof of concept. So a crew wasn't needed.
Without a crew, the pilots' only job would have been to save themselves in various emergency scenarios should the systems fail. Take the pilots out and you don't have to train/study/prepare for those scenarios, at least not before the first flight. By removing the pilots, Russia reduced early program costs. It was a form of technical debt. They would eventually have to prep for humans, but at least they could get the craft flying first.
It’s been speculated that if the damage to Columbia had been realized quickly, a rescue mission could have been launched and the crew returned safely on Atlantis. This would mean the destruction of Columbia even if it turned out the damage wasn’t that bad, because it couldn’t return without a crew. This is one random almost-real example of where this capability could be useful.
One obvious example is test flights. If a crewed craft can fly autonomously then it can be tested without risking those fragile, hard-to-copy meatbags. There will be an example of this next month when SpaceX launches the first test flight of the Dragon 2. Most if not all other manned spacecraft were tested this way too, aside from the Shuttle.