Here's the bootanimation (Hello Moto 2017) from the Moto E4 system image. It's using the same way as Motorola stock ROM to play the bootanimation, so it will replace the bootanimation binary to allow play mp4 videos as bootanimations. It's working on LineageOS 14.1 (Android 7.1.2). The .zip file will backup your old bootanimation binary in case you need to revert the changes.
Edit: added file for Android 6.0.x. MotoE4Bootanimation [6.0]. (Don't know if it's working since I'm not using Android 6.0.x, please test and report the results.)
WARNING: I'm not responsible if something happens to your device.
Because this flash file changes the bootanimation binary, you'll not be allowed to use a standard bootanimation.zip (that loads the animation from a bunch of .jpg or .png files) unless you revert to the original binary that came with the ROM, thats why the .zip will backup the original binary (/system/bin/bootanimation_bak). Also, it will not backup your original bootanimation.zip (located at /system/media), it's strongly recommended to backup this file if you want to revert to the original bootani. Or simply, make a backup of your whole system partition just in case anything goes wrong.
Credits goes to firmware.center for providing the Moto E4 system image and Motorola/Lenovo.
If you find this useful, hit the Thanks! button.