The 49ers dominated the Rams in Week 17 to finish the season on a five-game winning streak.