Maintaining and updating your own hardware comes with so much operational overhead compared to magically spinning up and down resources as needed. I don’t think this really needs to be said.
It’s absolutely not a one time cost. Once you have it you need to hire people full time to maintain it and eventually upgrade it. Hardware fails constantly