Google Capital took a majority stake in Care.com, boosting shares of the on-demand family care service.