You can put your apple photos library on an external / network attached drive. Thats what I do, since my photo library has grown to ~300gb. And I'd much rather buy a hard drive than rent one from apple.

There's also the excellent osxphotos utility which can export / backup / migrate photos in and out of apple photos:

https://github.com/RhetTbull/osxphotos