A study finds nearly half of jobs are vulnerable to automation