Self-driven trackless loading and unloading machine