Company posted a first-quarter net loss of $581-million as AI and geopolitical concerns hit its equity investments