Bug brains help AI solve navigation challenges