ChatGPT picked five companies it believes have the staying power to reward long-term investors. See what made the list.