A claim has emerged that artificial intelligence (AI) has cracked the code to a cipher that remained unsolved for 373 years.