Apple's success is largely a function of being a hardware company that put software first.