From what I have read online (IANAL) it is legal to capture and save streaming audio to your computer provided that you do not redistribute the captured content to others.
However, it is against the terms of service of all the streaming providers and they would be entitled to cancel your account if they somehow caught you at it.