Amen Thompson had 24 points and 18 rebounds, and delivered the game-winning field goal with a tip-in buzzer-beater as the Houston Rockets downed the Miami Heat 123-122.