The same reason a lot of companies support a community edition. It means that people can use, learn and become experienced with the product without forking over a tonne of money.
This results in a larger number of developers, add-ons and community surrounding the product.
This makes it a more appealing product for companies looking to build a business using it.
It's the same reason you can use AWS for free, get some JetBrains products for free and often find community editions for similar products to Magento.