Does it matter? Without it, there would be no money from Google.
You're moving the goalpost rather substantially. "It makes no money" and "it costs millions to maintain" -> it pulls in hundreds of millions per year, the majority of their income. They can afford to focus on it.
Firefox the browser is responsible for the vast majority (81%?) of the money that is injected into Mozilla annually.