AI can restore the jobs that automation and globalization killed, a report says