KJFK has a system like this that uses a blend of radar and transponder multilateration to automatically signal to aircraft that they are about to enter an active runway. The pilot either did not see (for human or technical factors) or disregarded this system during the incursion.
What is lacking (to your point) is the ability to automatically compare ATC’s verbal instruction to the aircraft to its actual position.