The head of South Korea's guard consulted ChatGPT before martial law was imposed