Increasing solar and decreasing oil are largely independent. History shows that when we find new energy sources, we keep using the old and add the new.
Solar allows us to keep doing some things that oil powers, but we would stop using oil at some point, limited by pollution killing too many of us, running out, or choice.