As the battle in AI technology heats up between Silicon Valley companies, Google cofounder Sergey Brin is getting hands-on again with software code, after years of day-to-day absence.