Over the years, computers have become increasingly more affordable. You can now buy a desktop for under $400, and a laptop too. Albeit, you’ll have to spend more to get more performance, especially gaming or video editing.
Here is a Dell ad, on the back of a Windows magazine I have, from 1998! This appears to be a high end computer, but still pretty expensive by today’s standards.