Video games and sim racing have helped motorsports grow over the years, contributing to the sport’s evolution while giving drivers another way to sharpen their skills off the track.