We're talking about converting hydrocarbons -> CO2 + water (or whatever if you care) and reversing that reaction (or similar, since we may want something more stable than hydrocarbons).
There are already machines which do this (anything that does photosynthesis). We're just going to play around the edges of making the reaction more efficient and/or the results more stable.