You can use solar to convert CO2 into syngas and do a Fischer-Tropsch synthesis followed by polymerization to get plastics.