From what I understand, the law is actually pretty vague about this one. In the advice the ACCC gives to businesses, it actually puts responsibility on both the retailer and the manufacturer.
Apple has taken this and will follow the same guidelines for their products regardless of whether you purchased it from Apple or not.