Companies could unlock funds for their next phase of automation by using artificial intelligence (AI) to identify and release cash tied up in equipment spending, inventory and unpaid bills, according to a McKinsey report.