However, the relationship between money and reporting is not straightforward. For instance, Bill and Melinda Gates foundation and many other lobbyists that pay media are suggesting the topics, not the content.
They pay for coverage and your editor in chief commits into producing x articles on y subjects, the content is left at the exercise of the journalist.
Do not forget that journalists are often freelancers working for multiple outlets and they do try to enforce deontologic rules as a way to protect their profession.
Compared to software developers, journalists earn less but own more. They do keep the right to the content and are liable individually. There are lots of restrictions in place as to what media outlets can and can not do to journalists, and some are even enshrined in laws.