A lithium battery from an e-bike caused an extensive apartment building fire Monday morning, according to fire investigators.