Sainsbury’s is to transform the management of its supply chain to improve stock availability through a five-year deal with IBM.