France will phase out sales of petrol and diesel vehicles by 2040 and become carbon neutral 10 years later, ecology minister Nicolas Hulot reportedly said.