reducing AI automation costs