Two men sentenced over failed investment scheme