Not sure about the C64 one but I've seen the Apple ][ one on the software archive sites before sites before. It's The Visible Computer, a reference to these educational models:
https://americanhistory.si.edu/collections/nmah_214319
'Visual 6502' is the name of the modern gate and transistor level 6502 simulators: