Airports throughout the world offer transit hotels for travelers caught between flights who need a few hours’ sleep in unadorned privacy. The accommodations, which normally bill by the hour, also lend themselves to smaller versions, called capsule hotels.