The alternatives are mostly
* better batteries
* heat pumps to replace oil burners
* methane or ammonia for the remaining uses (eg trans-oceanic); globally shipping and aviation together account for only 8% of petroleum use
With a universal carbon tax everything would automatically self-organize into the most efficient solution, but of course we can't do that.