Over nearly two hours in the situation room, according to the officials, Trump complained about NATO allies, inquired about the United States getting a piece of Afghan’s mineral wealth and repeatedly said the top U.S. general there should be fired. He also startled the room with a story that seemed to compare their advice to that of a paid consultant who cost a tony New York restaurateur profits by offering bad advice.