Rentable Mac Mini (or Mac colo of all flavors) has been a thing for easily 15+ years.
https://www.macstadium.com/ is one of the original providers if I recall correctly. I remember renting a macmini for a month when the app store on ios first came out because I couldn't afford a macbook.
AWS is largely taking other peoples efforts and putting the Amazon brand on them.