NEW YORK -- Five years after the start of the Great Recession, the toll is terrifyingly clear: Millions of middle-class jobs have been lost in developed countries the world over.And the situation is even worse than it appears.Most of the jobs will never return, and millions more are likely to vanish as well, say experts who study the labor market. What's more, these jobs aren't just being lost to China and other developing countries, and they aren't just factory work. Increasingly, jobs are disappearing in the service sector, home to two-thirds of all workers.They're being obliterated by technology.Year after year, the software that runs computers and an array of other machines and devices becomes more sophisticated and powerful and capable of more efficiently doing tasks that humans have always done. For decades, science fiction warned of a future when we would be architects of our own obsolescence, replaced by our machines. Now, an Associated Press analysis finds that the future has arrived."The jobs that are going away aren't coming back," says Andrew McAfee, principal research scientist at the Center for Digital Business at the Massachusetts Institute of Technology and co-author of Race Against the Machine. "I have never seen a period where computers demonstrated as many skills and abilities as they have over the past seven years."The global economy is being reshaped by machines that generate and analyze vast amounts of data; by devices such as smartphones and tablet computers that let people work just about anywhere, even when they're on the move; by smarter, nimbler robots; and by services that let businesses rent computing power when they need it, instead of installing expensive equipment and hiring IT staffs to run it. Whole employment categories, from secretaries to travel agents, are starting to disappear."There's no sector of the economy that's going to get a pass," says Martin Ford, who runs a software company and wrote The Lights in the Tunnel, a book predicting widespread job losses. "It's everywhere."The numbers startle even labor economists. In the United States, half of the 7.5 million jobs lost during the Great Recession paid middle-class wages, ranging from $38,000 to $68,000. But only 2 percent of the 3.5 million jobs gained since the recession ended in June 2009 are midpay. Nearly 70 percent are low-paying jobs; 29 percent pay well.In the 17 European countries that use the euro as their currency, the numbers are even worse. Almost 4.3 million low-pay jobs have been gained since mid-2009, but the loss of midpay jobs never stopped. A total of 7.6 million disappeared from January 2008 through last June.Experts warn that this "hollowing out" of the middle-class work force is far from over. They predict the loss of millions more jobs as technology becomes even more sophisticated and reaches deeper into our lives. Maarten Goos, an economist at the University of Leuven in Belgium, says Europe could double its middle-class job losses.Some occupations are beneficiaries of the march of technology, such as software engineers and app designers for smartphones and tablet computers. Overall, though, technology is eliminating far more jobs than it is creating.To understand the impact technology is having on middle-class jobs in developed countries, the AP analyzed employment data from 20 countries; tracked changes in hiring by industry, pay and task; compared job losses and gains during recessions and expansions over the past four decades; and interviewed economists, technology experts, robot manufacturers, software developers, entrepreneurs and people in the labor force who ranged from CEOs to the unemployed.The key findings:Over the past 50 years, technology has drastically reduced the number of jobs in manufacturing. Now, that same efficiency is being unleashed in the service economy, which employs more than two-thirds of the work force in developed countries. Technology is eliminating jobs in office buildings, retail establishments and other businesses consumers deal with every day.The most vulnerable workers are doing repetitive tasks that programmers can write software for -- an accountant checking a list of numbers, an office manager filing forms, a paralegal reviewing documents for key words to help in a case. As software becomes even more sophisticated, victims are expected to include those who juggle tasks, such as supervisors and managers -- workers who thought they were protected by a college degree.Thanks to technology, companies in the Standard & Poor's 500 stock index reported one-third more profit the past year than they earned the year before the Great Recession. They've also expanded their businesses, but total employment, at 21.1 million, has declined by a half-million.Startups account for much of the job growth in developed economies, but software is allowing entrepreneurs to launch businesses with a third fewer employees than in the 1990s. There is less need for administrative support and back-office jobs that handle accounting, payroll and benefits.Technology is replacing workers in developed countries regardless of their politics, policies and laws. Some analysts reject the idea that technology has been a big job killer. They note that the collapse of the housing market in the U.S., Ireland, Spain and other countries and the ensuing global recession wiped out millions of middle-class construction and factory jobs. In their view, governments could bring many of the jobs back if they would put aside worries about their heavy debts and spend more. But to the extent technology has played a role, it raises the specter of high unemployment even after economic growth accelerates. Some economists say millions of middle-class workers must be retrained to do other jobs if they hope to get work again. A common refrain: The developed world may face years of high middle-class unemployment, social discord, divisive politics, falling living standards and dashed hopes.In the U.S., the economic recovery that started in June 2009 has been called the third straight "jobless recovery."But that's a misnomer. Jobs came back after the first two.Most recessions since World War II were followed by a surge in new jobs as consumers started spending again and companies hired to meet the new demand. In the months after recessions ended in 1991 and 2001, recovery was slower, but all the jobs returned in less than three years.But 42 months after the Great Recession ended, the U.S. has gained only 3.5 million, or 47 percent, of the 7.5 million jobs lost. The 17 countries that use the euro had 3.5 million fewer jobs last June than in December 2007.This has truly been a jobless recovery, and the lack of midpay jobs is almost entirely to blame.Fifty percent of the U.S. jobs lost were in midpay industries, but Moody's Analytics, a research firm, says just 2 percent of the 3.4 million jobs gained are in that category. After the four previous recessions, at least 30 percent of jobs created -- and as many as 46 percent -- were in midpay industries.Webb Wheel Products makes parts for truck brakes, which involves plenty of repetitive work. Its newest employee is the Doosan V550M, and it's a marvel. It can spin a 130-pound brake drum like a child's top, smooth its metal surface, then drill holes -- all without missing a beat. And it doesn't take vacations or "complain about anything," says Dwayne Ricketts, president of the Cullman, Ala., company.Thanks to computerized machines, Webb Wheel hasn't added a factory worker in three years, though it's making 300,000 more drums annually, a 25 percent increase."Everyone is waiting for the unemployment rate to drop, but I don't know if it will much," Ricketts says. "Companies in the recession learned to be more efficient, and they're not going to go back."Developing economies have been spared the technological onslaught -- for now. Countries like Brazil and China are still growing middle-class jobs because they're shifting from export-driven to consumer-based economies. But even they are beginning to use more machines in manufacturing.