Amazon hires Carnegie Mellon machine-learning expert as Google expands its own AI initiatives