Assuming there are decent light levels to begin with, "lighting" means the play of light and shadow that makes your subject pop, that makes their face look like it has depth, then generally makes everything look attractive. This has nothing to do with your camera, and cameras have not gotten better at this, because cameras are irrelevant to it. When TV shows are lit well today, this is the lighting that's usually being talked about.
The other thing "lighting" means is "light that isn't too low". This was harsh studio lighting in the 1920's for example, and why even in the 1960's studio scenes couldn't be "naturally" lit -- and which was a major focus of lighting TV shows well in the 1960's, for example. But which we don't worry about anymore -- TV shows are generally shot at "real life" brightness levels today.
The larger point is that today, when we say that it's the lighting that matters for a shot more than the camera, we're usually referring to the first type I'm describing -- the artistic lighting. Cameras have not gotten any "better" at that. What has happened is that they've enabled shots at low lighting that weren't possible before, but that's only relevant in low-light conditions -- and you still need to distinguish between good/bad artistic lighting even when the light is low.