Of course not quite a fair comparison as it was closer to the high point of MS and close to the low point Apple.
[0] https://finance.yahoo.com/quote/AAPL/history?period1=8722080...
There's an awesome talk with Steve Jobs where he goes into it - it's been posted on Hacker News many times.
The drama "Pirates of Silicon Valley" covers MS & Apple from their founding in the 70s till the late 90s (the movie was made in 1999) and I believe it ends in that scene (I've last seen it when it was new so it may end a bit later but that definitely appears in the movie).
Easier to say in hindsight of course. I remember my brother convinced my parents to buy stocks (something like a few thousand $s) in a company making broadband internet modems in the mid 90s (this was high-tech future-like stuff at the time when most people were on dial-up internet - ISDN was considered fast) and they ended up going out of business shortly thereafter.
So even if you have good insight & bet on the right trajectory of technology it's not that easy to get it right without the benefit of a time machine or crystal ball.
Final value: $165k Annual return: 13.03%