What total nonsense. Yeah, I've been pranked. Perhaps my friends know where to draw the line. Bricking an expensive device is over the top. That's not friendship, it's not a "prank", it's vandalism.
Don't hand me "they didn't know the extent of the harm" crap either. That only means they are ignorant as well as inconsiderate.
"Hey, my buddy slipped a virus on my iMac when I wasn't looking. Now I have to completely wipe my system, but not before it sent all my info to an unknown location in Romania."
Oh, hahahah, what a prankster! I am bent over with paradigms of laughter.
Think you meant paroxysms.
And it is just a prank.
All the news reports I saw reported the problem AND the supposed fix.
If the fix didn't work for you or if Apple support led you down the wrong path then that can't be blamed on your friend.
It's unfortunate but I don't really see malice.
Now if you've got friends who are malicious then that's a whole 'nother story.