Renewable energies are much more diverse than just solar and wind. There is also waterpower and biomass which makes a considerable part of renewable energy in many countries.[1] Niche sources like geothermal and tidal power might become more important in the future. There are other types of energy storage available and in research than batteries.
Then there is the path to improve energy efficience in industry and private consumption, which both have a lot of potential, and to replace fossil energy sources outside of electricity production with renewables, such as heat-pumps for buildings.
[1] E.g. for Germany, biomass is almost as important as solar for electrical energy. Source: https://www.destatis.de/DE/Themen/Branchen-Unternehmen/Energ...