As far as I understand, in Gintama, aliens invaded Edo (Tokyo) in the times of the samurais and defeated them. Then, we not only see samurai-era (Edo period) buildings, weapons, etc., but also alien-made buildings, weapons, and technology.
However, there is also technology from the current era in it, like cars, TVs, electricity cables, bazookas, motorcycles, etc., like if the current era would be also mixed with their time.
How come there is contemporary technology in Gintama universe?