I'll reserve judgement until I can hear more but variations of that engine sounds like magic in other applications like 335is so I find it hard to believe they didn't get it right here.
Here's something else to consider: both of those videos are rather short and apparently cold starts. My car sounds like a dumpster at cold start. The M5 sounded like a diesel engine. It's a BMW thing. I don't know if it's EGR or an air pump but right around the 1 minute mark it shuts up drastically and sounds a lot better.
For example I cite this 335is which sounds meh when it starts but if you skip to the 1:05 mark you can hear it start to shut up until whatever is causing the noise completely stops at 1:14. This is exactly what my car does. Something tells me warmed up and under load that car sounds just fine. It just happens to be the in thing to hate on anything BMW performance lately.
Or this S85 M5… Aftermarket exhaust, same sound.