«فَمَا رَبِحَتْ تِجَارَتُهُمْ»
Their trade made no profit.
Tijāratuhum is the grammatical subject, mā negates, and rabiḥat is past tense. In context, a misguided exchange is represented through the familiar image of commerce and loss.
The commercial analogy is well supported. Yet the fact that a non-human noun functions as subject is not, by itself, conclusive proof of one fixed classification as majāz ʿaqlī: ordinary Arabic also attributes profit and loss to trade.