The story
From MacGyver + -ism, after the US television show MacGyver (1985–1992) in which the eponymous secret agent resolves crises through practical application of scientific knowledge and inventive use of common items.
Etymology from Wiktionary, CC BY-SA 4.0.