I like assembling machines.

Literal

I [topic-は] machines [object-を] assemble [nominalizer-の] [subject-が] liked.

組み立てる (くみたてる, 'to assemble, put together'). The nominalized clause ~のが serves as the subject of 好き. A hobby statement.