Hotels use a recirculating pump. Hot water is always flowing from the hot water heater around a loop of pipe that goes past the bathroom in the hotel room.
Hotels have very large water heaters/boilers that have quick recovery times to keep up with high demands. Most have a hot water recirculating line in which a pump keeps the hot water circulating very...