Using AI to cut costs and the impact of carbon in infrastructure construction