License the OS
Apple was doing poorly in computers because they refused to license the OS to other manufacturers. This misstep would have been fatal had they not brought out the iPhone. But it's becoming increasingly apparent that it only bought them time. If Apple does not want to be constrained to an ever-decreasing high end niche, they need to begin licensing both iOS and MacOS to third party hardware manufacturers. Sorry Apple, you can't keep the ecosystem closed and expensive forever.