Electricity thieves built their own illicit power stations to connect hidden mining farms with the local energy grid, a state-owned provider says.