The seven-story mobile cranes that lift cargo containers rely on diesel engines to maneuver. When energy-storage outfit Vycon devised a way to regenerate wasted energy, the ports paid for the testing. Now L.A. is spending $471,000 to retrofit three cranes with Vycon’s flywheel system, which should reduce fuel consumption and emissions by one-third.