How do I change the company owner?
An owner gives someone the Owner role in Settings → Members & roles; a company can have more than one owner, and owners can remove other owners.
Only an owner can make someone else an owner. Open Settings → Members & roles, choose the person's login, then Change role… and pick Owner. A company can have several owners, so make the new owner first, then change your own role or remove your access if you're leaving. Owners can do everything, including billing, closing the company and changing or removing every other owner, so give the role only to people you trust with that.