Elon Musk's artificial intelligence (AI) chatbot appears to have published messages without users' knowledge.