It is not really clear-cut. Typically a graduate student in the US does many things (from teaching to building a lab's basic equipment), and gets paid very little. I would not have a problem if a grad student claims that she did enough work for the money she is paid and her "discoveries" are the outcome of things she has done in her spare time. She is expected to publish of course, but there is already a remedy for not publishing: You cannot get a job in academia, and your advisor will not get further funding.
The funding provides the raw materials and the equipment in addition to the grad students' salary, so it is not unreasonable for the funding agency to require some open access to the outcome of the project. But this has to be said in advance, so people can decide whether to live on a low salary for many years while doing highly qualified work. If you want full access to my findings, so I would not be accumulating intellectual capital during my grad student years, then I would like a decent salary.