There are many pieces to this puzzle. Energy Storage is a hugely important piece to solve.
https://blog.syllablehq.com/can-we-create-the-worlds-largest...
^ This is a proposal that we consider the ocean as a source for relatively affordable pumped storage.