Where does “기(機)” come from?

Words derived from “기(機)