Anthony Rizzo hit three home runs in a game for the first time in his career as the Yankees powered their way past the Orioles, 12-8.