They are profitable exactly because they don't pay workers the worth they produce. Profit is literally that.
Google is exploitative because they don't fully compensate the value of labour used in production. This is wrong and damnable and illegal in any reasonable jurisdiction. Google is profitable. This is not wrong and commendable in most places. The concepts should not be conflated.