What shortsightedness from Apple. By aiming to be the sole player in the market and charging exorbitant prices, they paved the way for the IBM PC where the market was wide open and the ecosystem thriving.
After the threats and harassing from Apple, all those manufacturers quickly started producing PC compatibles instead of Apple II compatibles, thereby reducing the Apple II market presence compared to the PC.
Classic case of greed at work.