It tied to your apple account . You can login into app store and install it without having to pay again just like how the current app store works with other apps.
Use Carbon Copy Cloner to backup / prepare for system upgrade.
I think Apple has thought of some solution, we just don’t know it yet. It’s an interesting question.