Yes, these companies do make useful products. But they have real negative effects on the world, which would have been better off if all those engineers had made these products for companies other than these lobbyist, competition-stifling, aggressive monopolies.
There's no real moral difference between selling your talents to the highest bidder and this specific case of running a spam service to make money.