You can take the subway to JFK -- it's the A train. Or even faster, take the LIRR. For both, you have to transfer to the AirTrain for the last short stretch, but that train brings you directly to each terminal so you'd need to get on it anyways.
And you can take NJ Transit light rail from Penn Station to Newark, it's 3 stops. It's not technically the subway -- but it's better because it goes faster and there are less stops.
LaGuardia is the only airport you can't get to by train -- there was an attempt [1] but it was cancelled last year. But one of the big reasons for cancellation is that it was crazy expensive and you can already get to the airport pretty easily if you're willing to hop on bus connection from the subway or LIRR.
So I'd say the situation isn't that sad. For Newark and JFK it's totally fine, and for LaGuardia you just need to add a bus.