Intel Corp. and Samsung Electronics Co. have shed a total of $227 billion in market value this year on their lack of leadership in artificial intelligence.