Google also made that argument, and further argued that they could do it better.
Which is why they planned to replace the entire kernel and services with zircon and fuchsia, and a new Android runtime ontop.
Guess what, turns out Google actually does need the community contributions of the Linux and Java projects.
What community contributions? Linux is mostly corporately developed with Google being one of the major contributors.
Google also fully maintains the ART VM running on Android - despite Oracle, the owner and developer of Java - famously wanting a piece of it.
What community contributions are you talking about there? Where does this myth come from?