Americans are optimistic about scientific advances in AI, but concerned that AI may take jobs.