In principle, regular maintenance is not required for the Shimano motor. Detailed care instructions can be found in the Shimano manuals that come with the bicycle.
The Sram motor is also maintenance-free. However, it is advisable to have the bicycle checked by a professional approximately every six months to identify any potential issues early and extend the lifespan of all components.