The IMF says AI investment is supporting global growth near 3%, but warns that 40% of jobs could be affected and financial markets face growing risks.