At age 17, Ray Kurzweil – he of the “singularity” – wrote a pioneering piece of “AI” music software, and showed it off on a TV show with Steve Allen.