To anticipate it, we just need to watch sci-fi movies :P see my comment above.
I do appreciate your positive outlook, essentially that there will be future solutions to future problems. Although I do agree with that for the most part, it still doesn't mean that futuristic nightmares like AI overthrowing humans still isn't scary lol.