When Allbirds announced its pivot to artificial intelligence in April, the move was met with skepticism — a classic case of a struggling.