Apple products seem to dominate the markets. But it wasn't always that way. Creative thinking and tenacity saved the company from being an also-ran.