Uber is expanding into a different side of the travel business. The ride-hailing and delivery company said on Wednesday that users of its app can now book hotel rooms.