One way to do it would have you shoot the actor in a green screen cove (perhaps with a treadmill) and the ground/terrain would be added later using CGI.