Terraform Industries (and others, like Synhelion) has a plausible if slightly optimistic target to be price competitive with fossil fuels for methane in the early 2030s.
Some places with very cheap to extract hydrocarbons like Saudi Arabia may be able to compete for a very long time, but there are many futures where most of humanity's hydrocarbon consumption (including the ones used for the chemical industry, plastics, etc) derives from atmospheric carbon.
And this can happen fast, the world (mostly China) has developed a truly massive manufacturing capacity for PV.