Electrifying transport is key to reducing carbon footprints. Brazil and Costa Rica are now trying to power up their fleets with new laws that aim to remove barriers to EV use.