A 12-year-old boy died after attempting to recreate a scene from the dystopian Netflix series Squid Game as a prank.