The first apparent Israeli airstrike in central Beirut in nearly a year of conflict has hit an apartment building, hours after Israel attacked targets across Lebanon, killing dozens.