Salesforce Inc. has a stake in Anthropic PBC worth about $5 billion after repeatedly investing in the ascendant AI startup.