Anthropic plans to allocate an initial 5% of its shares to a public benefit fund, while Elon Musk has pledged to give SpaceX shares to children across America.