By PAUL WISEMAN and BERNARD CONDON
AP Business Writers
WASHINGTON (AP) - They seem right out of a Hollywood fantasy, and they are: Cars that drive themselves have appeared in movies like "I, Robot" and the television show "Knight Rider."
Now, three years after Google invented one, automated cars could be on their way to a freeway near you. In the U.S., California and other states are rewriting the rules of the road to make way for driverless cars. Just one problem: What happens to the millions of people who make a living driving cars and trucks _ jobs that always have seemed sheltered from the onslaught of technology?
"All those jobs are going to disappear in the next 25 years," predicts Moshe Vardi, a computer scientist at Rice University in Houston. "Driving by people will look quaint; it will look like a horse and buggy."
If automation can unseat bus drivers, urban deliverymen, long-haul truckers, even cabbies, is any job safe?
Vardi poses an equally scary question: "Are we prepared for an economy in which 50 percent of people aren't working?"
EDITOR'S NOTE: Last in a three-part series on the loss of middle-class jobs in the wake of the Great Recession, and the role of technology.
An Associated Press analysis of employment data from 20 countries found that millions of midskill, midpay jobs already have disappeared over the past five years, and they are the jobs that form the backbone of the middle class in developed countries.
That experience has left a growing number of technologists and economists wondering what lies ahead. Will middle-class jobs return when the global economy recovers, or are they lost forever because of the advance of technology? The answer may not be known for years, perhaps decades. Experts argue among themselves whether the job market will recover, muddle along or get much worse.
To understand their arguments, it helps to understand the past.
Every time a transformative invention took hold over the past two centuries _ whether the steamboat in the 1820s or the locomotive in the 1850s or the telegraph or the telephone _ businesses would disappear and workers would lose jobs. But new businesses would emerge that employed even more.
The combustion engine decimated makers of horse-drawn carriages, saddles, buggy whips and other occupations that depended on the horse trade. But it also resulted in huge auto plants that employed hundreds of thousands of workers, who were paid enough to help create a prosperous middle class.
"What has always been true is that technology has destroyed jobs but also always created jobs," says Nobel Prize-winning economist Joseph Stiglitz of Columbia University. "You know the old story we tell about (how) the car destroyed blacksmiths and created the auto industry."
The astounding capabilities of computer technology are forcing some mainstream economists to rethink the conventional wisdom about the economic benefits of technology, however. For the first time, we are seeing machines that can think _ or something close to it.
In the early 1980s, at the beginning of the personal computer age, economists thought computers would do what machines had done for two centuries _ eliminate jobs that required brawn, not brains. Low-level workers would be forced to seek training to qualify for jobs that required more skills. They'd become more productive and earn more money. The process would be the same as when mechanization replaced manual labor on the farm a century ago; workers moved to the city and got factory jobs that required higher skills but paid more.
But it hasn't quite worked out that way. It turns out that computers most easily target jobs that involve routines, whatever skill level they require. And the most vulnerable of these jobs, economists have found, tend to employ midskill workers, even those held by people with college degrees _ the very jobs that support a middle-class, consumer economy.
So the rise of computer technology poses a threat that previous generations of machines didn't: The old machines replaced human brawn but created jobs that required human brains. The new machines threaten both.
"Technological change is more encompassing and moving faster and making it harder and harder to find things that people have a comparative advantage in" versus machines, says David Autor, an economist at the Massachusetts Institute of Technology who has studied the loss of midpay jobs to technology.
Here are the three scenarios that economists and technologists offer about jobs in the future:
_THE ECONOMY RETURNS TO HEALTH AFTER A WRENCHING TRANSITION
A new gadget will let you know how active your dog is. (Video)
Winners and losers at the Daytime Emmys. (Photos)
Miss Utah's 2nd chance at the pageant answer that went viral. (Video)
Kim Kardashian gives birth to first child a few weeks early.