Amazon to invest $4B in AI firm Anthropic