Want to make robots run faster? Try letting AI take control