The Washington Metro has a stop at Reagan National (DCA), and BART goes to SFO. Baltimore light rail goes to BWI Marshall.
The law applies to heavy rail, not light rail - the NYC subway system is entirely heavy rail.
However, transit infrastructure is locked in once, built, so almost every other transit system in the country has this issue, because it was built before 2021.
https://www.vice.com/en/article/z3v5j3/us-airports-no-longer...