Restaurants are a tough business because of the crazy competition. AI made software engineering probably similarly competitive and so a lot less attractive.
So, like with restaurants, if you want to make a small fortune in software engineering, you start with a large one?
Lots of people think they can run a restaurant. While clear thinking helps with successfully running a restaurant, with computers and robotics the clear thinking has to be there all the time.
Totally different entry requirements.