The roar of engines and the flash of checkered flags share a surprising connection with the digital thrill of modern gaming.