How true it is that necessity is the mother of invention.

Literal

Necessity [topic-は] invention [possessive-の] mother [copula-とは] well said thing [copula-だ].

とはよく言ったものだ is a set phrase meaning 'how true/apt that saying is.' It expresses admiration for the wisdom of a saying. Adds personal endorsement to the quoted proverb.