Tens of millions of workers could lose their jobs to automation, particularly in southeast Asia, over the next 20 years.