Gekijouban Konjiki no Gash Bell!! Mecha Vulcan no Raishuu [Movie]
Kiyomaro was kidnapped by a large object, and he lost his consciousness on the way. When he came to, he was in the castle and surrounded by machines. Then, a monster named Dr. M2 appeared. Dr M2 told Kiyomaro to become his partner to conquer the magical world.
(taken from AnimeNFO)