The Dow Jones Industrial Average hit fresh record highs on Wednesday, but the momentum reversed sharply Thursday as AI stocks led a tech sell-off.