Because GetOwner() was declared as AActor in Actor.h (see below):
/**
* Get the owner of this Actor, used primarily for network replication.
* @return Actor that owns this Actor
*/
UFUNCTION(BlueprintCallable, Category=Actor)
AActor* GetOwner() const;