Program as video file

Tags: sofware cross-platform files

I always liked image and video files. You can run it on any pc, laptop or any device. The file includes everything needed.
Why can't programs be like that? Why in 2k21 we need so much effort to make cross-platform programs, and they still are mediocre at best.
How many billion human hours wasted on this?
This has to stop.