WPML 4.0 version introduced the Advanced Translation Editor, which comes with a built-in machine translation feature.

Advanced Translation Editor allows you to use machine translation for translating the whole page at once or field-by-field.

Machine translation feature in the WPML Advanced Translation Editor
Machine translation feature in the WPML Advanced Translation Editor