I think the last one was in Amber. I forgot who checkmated who. I vaguely recall Karjakin get checkmated but not sure.
When was the last time a grandmaster was checkmated?

You're right about Amber, but your precision needs to be amped up.
Carlsen checkmated Gelfand in their blindfold game. 51. Bd6#
http://www.chessgames.com/perl/chessgame?gid=1578144
However, GMs are often checkmated, it's just that they resign a few moves away to preserve their dignity.
At the Russian Team Champ's yesterday, Zahar was four moves away from mating Andreikin when he resigned.
Rublevsky was five moves away from embarrassing Inarkiev. And Malakhov had Bologan plastered all over the board, though not in a forced mate situation. (-17 centipawns is pretty bad.)
And that's just one round of one tournament, among Super-GMs.

On a related note...Byrne saw the defeat coming when playing Fischer in "The Game of the Century" quite a bit earlier than move 41 (even I could see it 5 or 6 moves earlier, when black is chasing the naked white king!). He was thinking of resigning but decided the game was so brilliant that he'd let the kid play it out to mate.
c.f.: http://www.chessgames.com/perl/chessgame?gid=1008361&kpage=34

There are too many checkmates to mention guys.. The latest is here in the game between Svidler and Grischuk in the 2019 Leviton only yesterday. The Chesspuzzler has this one onine already... I am not sure about this link but here it is
https://www.youtube.com/watch?v=9VRcpKorWOo
Here's all the times elite grandmasters have been checkmated
https://www.chess.com/blog/GM_Kenny_Ji/elite-gms-overlooking-mate-in-ones
Since grandmasters seem to see when mates are imminent and resign, I assume grandmasters losing by checkmate are few and far between. Anyone know the last tournament game where a grandmaster lost by checkmate?