Motor equipped with thermal fuse