Google and Microsoft warn investors that bad AI could harm their brand