Several investment groups, including Google Ventures and Uber, have invested $335 million into Lime, a scooter rental startup, the company announced Monday.