AGL, one of the nation’s biggest energy retailers, has been dealt a record fine of $25 million for wrongly taking money from hundreds of welfare recipients.