Tesla has announced it is developing an electric truck which is expected to be revealed later this year.