Non-folding e-bikes will be banned from London Tube and rail services from the end of the month to "ensure the safety of customers and staff", Transport for London (TfL) has said.