Spices and sauces maker McCormick & Co. is teaming up with technology giant IBM in artificial intelligence-enabled product development.