McDonald's has a hotel on its corporate headquarters campus in Oak Brook. It's run by Hyatt and anyone can book rooms there (we've done a couple "staycations" there in the winter to be able to have a weekend where we can avoid Chicago cold/stay inside the whole time and have access to a swimming pool). I'd guess a large fraction of the business comes from people attending meetings at corporate or training at Hamburger U, but they also host typical hotel things like non-McDonald's conferences and weddings etc. Most, but not all, of the hallway art has a McDonald's theme.
Boeing has Hilton Garden Inns hotels right at Everett field where the wide-bodies are made, and in Renton where the 737s are made. They're a sight to see because they seem very very out of place. But they do a steady trade in Boeing attendees coming in for training, as well as customers coming to negotiate, inspect, and pickup new planes. I got to play a private party in the Everett one, to celebrate a new plane delivery for a customer. The staff told they once had a super-rich Emir book out a whole floor and stay there for a few days while a private jumbo was being delivered. The idea of that happening at a garden inn amuses me.
A lot of big companies do the PO built accommodation blocks at Bletchley Park - as that site was used for a lot of training after the GPO took BP over post world war 2