Yeah both use significant energy in both moving the 4000 pounds around and maintaining the millions of miles of highways.
The real win for environment would be building cities and towns to support not having to drive everywhere.
People generally aspire to live in single family homes, and that is incompatible with not driving a car.
Well we live in the real world. We're not going to be rebuilding cities anytime soon. And most people like being able to drive, it allows you to live your life and not be confined to a couple of square miles or the limits of a transit system.