The container shipping lines that carry the bulk of global trade are betting on greener technologies, but there are still reasons those wagers could fail.