Porsche has a 45% stake in Bugatti Rimac and a 22% stake in Rimac Group, which has a 55% stake in Bugatti Rimac. So it's complicated.
Porsche did this stake here and there thing precisely to gain > 50% of Rimac voting rights.
It's simple really: Porsche controls Rimac.
Then there's the whole "VW took control of Porsche after the short squeeze made by Porsche to try to acquire VW failed" (it failed due to the sudden crash during the 2008 banking crisis IIRC). And now Porsche is apparently spinning out of VW and shall be independent again.