At the dawn of the automobile age, four teams set out to test the limits of their machines—and of human endurance.