I read the article about using ICE for air-conditioning. The trick is that they are creating the ICE at night, and using it during the day- sort of like "storing" the cool . It makes sense, but requires an enormous investment in infrastructure.
The first law you have to remember in energy production is that nothing comes for free. The second is that electricity is hard to store for use later- there is promise in systems that convert the electrical energy into physical energy like compressed air, or elevated water.
Water is made by combining Oxygen and Hydrogen, which together make H20. Water is abundant, but free hydrogen is not. Separating Hydrogen from water is energy intensive. Understand that free hydrogen is a means of storing energy in a chemical form- that is all that it is.
During WW2 the germans, who were suffering from a shortage of petroleum. Developed synthetic fuels and also hydrogen cars. They would pump oxygen and hydrogen into a cylinder and ignite it. The gases turn into a liquid- which means it condenses and becomes a smaller volume- the opposite of a gasoline ignition. The valves need to be shut so the vacuum can suck the piston to the top thus moving the crankshaft. This is an old technology, and the same problems remain- how do you separate the oxygen from the hydrogen cheaply? Answer- you can't!
Storage isn't really a problem. Creating enough electrity to use hydrogen as energy storage on a mass scale- a VERY BIG problem.
IMO, using compressed air is a much more cost-effective method, than trying to separate water. And, with compressed air there is no pollution at all!