They have an optional headlight that auto dims/brights, turns with the steering wheel, and I don't know what all else. That system probably costs more to fix than an engine rebuild so I stayed away from it!
Technology is amazing. Probably a good idea staying away from the advanced system.
I remember reading an article a while back that on BMW's the headlight assembly is the 3rd most expensive item to replace. Only behind the engine a d transmission.