The standalone Xbox One console does not include a packed-in game.
However, Microsoft and retailers frequently sold bundles that included digital codes or discs for specific titles. Common historical bundles:
To know what a specific SKU includes: Check the box art listing on the retailer's site (Amazon, Best Buy, GameStop, Microsoft Store) or the product description. "Console Only" means no game.