Amazon will invest $4B in generative AI firm Anthropic. AWS will provide key support for safety research and model development.