Countries both rich and poor must take faster action to cut debt and counter growing inequality as their economies weather a triple whammy from the artificial intelligence boom, heavy borrowing and shocks from wars in the Middle East and Ukraine, the head of the IMF said Wednesday.