The Prime Minister has linked climate change to economic hardship in the wake of the devastating Los Angeles bushfires, saying the cost of rebuilding had to be taken into account.