Canonical has made some mistakes that the community has rightly called them out for, and sometimes they make decisions that we don't agree with, but in the end they open source everything important.
Compared to the old Red Hat they're far from perfect, but compared to IBM, Microsoft, Google, Amazon or Oracle or any other closed source software company they are fricking angels.
That's not entirely fair. Canonical has almost zero kernel contributions, while IBM is the #4 top corporate contributor.
And Canonical keeps some "important" things proprietary, like the server code behind Snaps.
Kernel contributions are a really bad metric, they're like 1% of a distribution and get lots of attention. IBM isn't an Nvidia, but they're not a Red Hat or Canonical either.