Shohei Ohtani hit his 300th career homer but two errors by the Dodgers in the eighth inning led to three runs by the Rockies.