AI giant Anthropic is warning about its potential risks to humanity as the company takes a key step toward going public.