A car smashed into a house in Yorkshire causing extensive damage - just hours after it was targeted in a suspected arson attack.