The boss of Iran’s state-run electricity company said some had exploited subsidized electricity to run crypto mining operations, straining the power grid.