The German automaker is selling its stake in the supercar maker to an investor involved in SpaceX and Anthropic AI.