Gate control of artificial single-molecule electric machines