The International Monetary Fund (IMF) has warned that AI is likely to affect nearly 40% of all jobs worldwide.