Anthropic, the AI company behind the chatbot Claude, has raised concerns about the use of technology for surveillance and autonomous weapons.