Optus has been hit with a $12-million penalty after thousands of customers were unable to call triple zero during last year's unprecedented network outage.