A new Sony patent describes AI system that could diagnose your console and generate code to fix software and firmware problems automatically.