Great point!! A perfect example is AirBnB - look at the number of open-source projects that came from there.
I myself have used two of these projects heavily (Airflow, SuperSet) and am thankful to the teams for building such great products.
But did this make any business sense for AirBnB to spend on these? In this post COVID world, very unlikely this would continue.