Happened to me once - nav screen froze right after a cold start. Nav guidance was active and talking but display hung. Auto rebooted too after a minute or two.
Must be a watchdog timer in there so at least it can recover.
FWIW my 420d used to do this every hundred hours or so, and so did a 2014 E Class.
No hardware issues on them either.