NEW: Gates Foundation pledges $1 billion to combat AI inequality, funding projects aimed at bridging social divides as chairman Bill Gates warns of the technology's dangers.