Production externalities and investment caps: A welfare analysis under uncertainty