From Japanese 3K (3K), which stands for kitsui (きつい difficult, hard), kitanai (汚い dirty) and kiken (危険 dangerous).
3K產業