Google's co-founder, Sergey Brin, has returned to help it develop its next-generation Gemini system.