How does Apple's free apps program work?
Whenever buying anything from Apple in the recent past that came with software, it's been linked to my Apple ID, so perpetually available in the App Store.

Eg. buying a Macbook just as Mountain Lion came out, it shipped without it, but was available for free from the store with it when I logged in with my Apple ID.