Fei-Fei Li, the founder of the San Francisco-based lab, will take a senior role at AMD after the deal closes.