I doubt that any of today's digital cameras will be working in 50 years unless you own an electronics firm and can task your engineers to design and fabricate new electronics to emulate and replace the obsolete parts that are no longer obtainable. You will be lucky if a piece of software can open the raw images created "in the past", let alone operate the camera.
Just a Poll: How old is your OLDEST operating digital camera? Mine is from 1992. I took it apart and fixed it up myself. I had a "parts" camera, a dead and unrepairable one to get parts from. It is in the "Service Discontinued, cannot be repaired" category as are the Kodak DCS400 series cameras. That latter series was discontinued in 1999. How old is you oldest operating computer? My oldest is from '96, a Pentium Pro that I keep running from scavanged parts of other old machines. I use it for the 1992 Kodak Digital camera.
In 50 years all of our digital cameras will be in land fills, except for a few behind glass cases that no longer work.
OKAY: Who has some old Digital cameras and DO THEY WORK"
1992 DCS200IR: Working after taking apart and cleaning contacts.
1992 DCS200ci: Main processing board shot.
1995 DCS420c: Working
1996: NC2000e: Main electronics Board FRIED and smokes when charger plugged into camera.