Spin tool curves objects
You need to imagine drawing a circle with a centre at the pivot. As your pivot is above the plane, that circle starts in the way you are seeing. Move the pivot parallel to the plane you are extruding and you will get the behaviour you are after.