All these platforms allow (in encrypted format) for offline listening within the app. You never own the file permanently, but you get unlimited streaming without legal fear.