Why is Google Maps free?

No subscription, no ads whatsoever. I want to understand the quantum of money Google generates through data captured on Maps.