Who says hitting an apartment building would be a mistake for terrorists? People do live in apartment buildings, after all. Besides, even if there are bigger targets, this could be seen as a threat for future, more devastating strikes.
That doesn't mean that it is terrorism, but if that does happen to be the case, it may not have been such a mistake.