The Microsoft co-founder says artificial intelligence could transform health, education and prosperity, but warns job losses, security threats and social harms demand coordinated action now