Online services are being restored after a widespread outage that affected major banks, Virgin Australia and Australia Post.