Artificial intelligence can help predict style crazes, shape collections and help the environment by cutting waste material