"I didn't notice until now" is quite the opposite of happenstance, on par with the PHB mantra "what do we need devops for, anyway, the network seems to be up!" Well it's up because devops is keeping it up. Likewise, the grid doesn't just magically self-balance around 50 Hz.
EDIT: Nevermind, sounds like there are precision concerns that justify using the power grid for timekeeping.
I/you wish.
leftpad would like to have a word
Edit: NPM has engineering challenges, and Node as well...but I would be extremely hesitant to call a library of ~ten LoC "engineering."
UK and EU grids have websites letting you look at frequency history.
There's still an awful lot of infrastructure keyed off having an accurate synchronous time, including billing systems, traffic lights, street lights...
A clock using the power grid as reference might be off by 4 minutes over the day but on average it will be perfectly on time.