To save endangered languages, tech companies like Apple are working with Indigenous communities to meet the next generation where they type.