BMW got much better since the switch to B series engines, N series era was horrible. Timing chains between the engine and gearbox are a pain point though, they need to be replaced with mileage.
The B58 and B48 are quite impeccably good engines, both in terms of reliability and also performance/response. I had an excellent experience with my B58-powered M240i. I've also never heard anyone needing to do anything in practice with timing chains on these engines, even at high mileage. It seems the whole car would be worn out before the timing chain wears out, provided you use decent quality oil and don't neglect…
It's worse in B47, which carries over the same timing parts as N47 and it's generally acknowledged it's best to replace the chain at 120000km there.
6cyls seem to fare better, my guess is the pulling forces on the chain are spaced more evenly.