Google has spent three years rebuilding its identity after OpenAI’s meteoric rise jolted the company into action. What began as a scramble to catch up has turned into a sweeping reinvention — though ...