On 1, I’m not sure—How an Algorithm Feels from Inside is the closest I can think of right now. But you might check out Good and Real, by Gary Drescher, which is basically what you’re looking for, particular author aside.
On 2, a fairly common opinion is that AI risk will happen on a faster timescale and impact more people than global warming, but attribute this to anyone in particular at your own risk.
On 1, I’m not sure—How an Algorithm Feels from Inside is the closest I can think of right now. But you might check out Good and Real, by Gary Drescher, which is basically what you’re looking for, particular author aside.
On 2, a fairly common opinion is that AI risk will happen on a faster timescale and impact more people than global warming, but attribute this to anyone in particular at your own risk.