Machines could take 50% of our jobs in the next 30 years, according to scientists.