I think you are confused here because kubernetes is heavily subsidized but the kubernetes providers:
- https://k8s.devstats.cncf.io/d/9/companies-table?orgId=1
It is opensource so there is still a lot of volunteer work going on there but the infrastructure (CI/CD, image hosting, etc) is also paid for by corporations and not by the community. Its millions of dollars a year in contributions.