The New Zealand government has proposed legislation to limit the ability of individuals to sue companies for the impacts of climate change.