An autopilot for airplanes is only "easy" until something goes wrong. For example, one failure mode for autopilots is that if the aircraft gets progressively more and more out of trim the autopilot will automatically compensate until it hits its design limit. Then it suddenly disengages, leaving the human pilots in manual control of a nearly uncontrollable aircraft. If you talk to an actual flight control engineer they can give you plenty more examples of why building a safe autopilot is quite hard.