Total, the French oil group, has warned politicians that they risk accelerating an oil supply crunch if they enact environmental policies that deter investment in oil and gas before enough viable alternatives are available.