Global AI spending forecast to top $4 trillion next year