Tax the resultant capital gains as well as profits to provide higher skilled retraining for those who lose their jobs. However this is NZ, so the increased returns will probably end up being invested in inflating land prices and our young people will head to Australia..