In-form Rosberg upstages Hamilton in season-ending race