The South Australia battery is profitable because it solves the problem of changes in demand over a period of seconds or minutes, filling the gaps while a larger fossil fuel plant manually ramps up to take over the load.
It’s critically important and far more costly to do in other ways.