For the first time, the company disclosed the profitability of Google’s search engine and its other online services, and how much it is spending on ambitious technology projects such as self-driving cars. The numbers were lapped up by investors, who saw room for growth in Google’s traditional business, and were relieved to see that spending on new projects it calls ‘Other Bets’ was not as lavish as some had feared.