Commonwealth Bank has been issued with two fines worth $18,000 each after pleading guilty to not paying long service entitlements to staff.