Internet giants have vacuumed up the world's AI talent, but they still need more. Now they're trying to cultivate it in-house