Denmark stunned Canada with a goal in the final minutes to eliminate the favorites from the hockey world championships, while the U.S. won to reach the semifinals.