Text this: Brown dwarfs in Eddington-inspired Born-Infeld and beyond Horndeski theories