It's a very different thing than owning.
Edit: I want to be clear that this is about the economics and ease of owning vs renting, not the particular prices. Lyft bikes have memberships+rental fees or just rental fees, and they can be pretty expensive, but so can buying an ebike.