Samsung Electronics shares fell after the company reported third-quarter profits that slightly missed analyst expectations, despite its optimistic outlook on AI spending.