Macquarie Bank’s repeated failures to spot suspicious activity on the electricity futures market has cost it almost $5 million and a stinging reprimand from the corporate regulator.