Planes have the problem of low surface area. To capture lots of sunlight, it has to be big…but being big makes it need more sunlight! Decarbonizing them is probably going to need either better energy storage or fusion power.
Ships are another story, though. Humanity invented a zero-carbon way to propel them millennia ago: sails! The OG wind power. I've heard that research is now happening to develop newer, better sails to at least supplement the motor. Seemed pretty cool.