Replacing a crumbling concrete driveway or fixing a crumbling foundation can set you back, on average, about $5,000.