Polarization in coopetitive networks of heterogeneous nonlinear agents