The decision is part of Google’s “cost-cutting measures” and reflects the tech giant’s new ambitions.