Science fiction has roughly the same relationship to technology as crime novels have to the criminal justice system. So, not sure how these can be "right".
Johannes Klingebiel
Science fiction authors in the order you want them to be right about AI:
Iain Banks
Becky Chambers
Martha Wells
Douglas Adams
Charles Stross (Singularity Sky)
Peter Watts
Charles Stross (Laundry)
Harlan Ellison