In the cruise industry, passengers are requested to get insurance which covers medical evacuation/diversion, if they don't they are forced to sign a waiver.
When medical evacuations occur, signatures are required from the person being evacuated or their companion at the time of evacuation clarifying that costs will be borne by them. The cruiselines do actually attempt to recover the costs as well.