Several of the Google employees who pivoted into AI took years to prepare for the career transition.