From the wikipedia article you linked:
I guess Fenix knows what they are doing, and would not manufacture and sell a light that is inherently unsafe; especially in combination with an 18650.
By the way, Surefire already sells a magnesium headlight as well since 2017. I guess it all comes down to choosing the right alloy and right coating/finishing.