That transition took 40-50 years. Electrical power in manufacturing was infeasible for lot of reasons for a longtime.
Any company issuing such an edict early on would have bankrupted themselves. And by the time it became practical, no such edict was needed.