I’m no fan but it’s reductive to call them rebadged Peugeots. Like just about any car you buy, including a Rolls Royce, they are built using a shared platform. In this case, it’s one of the Stellantis platforms.
Certainly there's still shared components with BMW, but they've gone back to being more bespoke.