A near-tragedy forced this author to confront a broken education system, and the role AI could play in fixing it.