Google never cared about costs. It bought Boston Dynamics as a personal playground for Andy Rubin, and then when Rubin was exposed as a serial harasser, they gave him a $90m severance package.
Google cares very much about cost. That's why they always terminate their own projects and services even if people enjoy them. They just happen to care more about their friends.