The Sacramento Kings and fourth-year forward Keegan Murray agreed to a five-year $140 million contract extension.