The Prime Minister has been warned superintelligent AI could "kill us all by the end of the decade" after "a string of alarming incidents".