GM takes on Tesla in home and commercial energy storage, management